Problem accesing Tamino

Helo, i am trying to open a connection for inserting some nonxml documents in tamino database.
i receive the following error
“System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at SoftwareAG.Tamino.Api.Common.Command.Execute()
at SoftwareAG.Tamino.Api.TaminoConnection.Diagnose(String what)
at SoftwareAG.Tamino.Api.TaminoConnection.GetDbVersion()
at SoftwareAG.Tamino.Api.TaminoConnection.CheckDbVersion()
at SoftwareAG.Tamino.Api.TaminoConnection…ctor(String connectionUri, TaminoUserInfo userInfo, TaminoPreference preference)
at SoftwareAG.Tamino.Api.TaminoConnection…ctor(String connectionUri)
at ComponenteResurse.BindDB.InsertNonXMLTamino(String DBurl, String collection, String docType, String docNameTamino, String fileName, String fileType) in C:\Inetpub\wwwroot\ComponenteResurse\BindDB.vb:line 610
at Licitatii_RONS.DocumenteLicitatie.idom_Click(Object sender, EventArgs e) in C:\Inetpub\wwwroot\Licitatii_RONS\DocumenteLicitatie.aspx.vb:line 856”
and i don’t know what is cauzing it.

my procedure for inserting nonxml documents is:

Public Sub InsertNonXMLTamino(ByVal DBurl As String, ByVal collection As String, ByVal docType As String, _
ByVal docNameTamino As String, ByVal fileName As String, ByVal fileType As String)
Dim connection As TaminoConnection = New TaminoConnection(DBurl)
Dim command As TaminoCommand = connection.CreateCommand(collection)
Dim doc As TaminoDocument = New TaminoDocument(docNameTamino, docType, New FileStream(fileName, FileMode.Open, FileAccess.Read, FileShare.Read), fileType)
Dim response As TaminoResponse = command.Insert(doc)

End Sub

Please help
Thank you. I am using Tamino 4.4.1

If you try a _diagnose from a browser do you get asked for a userid/password?

Something like:


If you do get asked for a user/password are you supplying this information via a TaminoUserInfo structure in the .NET TaminoConnection constructor?

Thank you, i tried what you said and this is the answer that i got:

<?xml version="1.0" encoding="ISO-8859-1" ?>

He didn’t asked me user or password. It is possible to be from IIS?