I use tamino4.1.1,the web server is IIS;
I set authentication of IIS to “BASE” and tamino to “tamino”,I have a same user and password in tamino and Windows system. The code bellow is used to connect to tamino:
TaminoConnection conn=new TaminoConnection(
“http://localhost/tamino/mydb”,
new TaminoUserInfo(“administrator”,“admin”));
conn.Open(TaminoConnectionMode.AutoCommit);
but error 401 is returned by web server?
How can I connect to it?
Hi,
Could you provide a full stack trace of the exception you receive? I have a suspicion of what it might be and a stack trace could confirm this.
Cheers, Mark
thank you. Here is the stack trace:
System.Net.WebException: ???(401) ???
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)
at SoftwareAG.Tamino.Api.TaminoConnection…ctor(String connectionUri, TaminoUserInfo userInfo)
at test.Form1.Query_Click(Object sender, EventArgs e) in c:\documents and settings\lll\my documents\visual studio projects\test\form1.cs:line 97
Thanks.
It looks like a problem that has been fixed but the fixed version has not yet been released.
If you require the fixed version please contact support and quote P236724.