Authentication with server failed.

  • 22 September 2006
  • 1 reply
  • 0 views

Badge
Getting following error "Authentication with server failed" while trying to open connection through K2Rom.dll.
I am using the following command in ASP.NET.
myConn.Open("servername");
I have not specified the connection string because I want to be logged onto server with the credentials of the user opnening the ASP.NET web form.
Please let me know what needs to be done.

1 reply

Badge +11
Make sure your web app's web.config states: identity impersonate = true; and
make sure the site runs on 'Integrated Windows Authentication' ONLY.

Have a look at your K2Error.txt and ADUMError.txt files in K2.net's Bin directory for any clues as to which user is being authenticated.

Also, it's always a good idea to run K2.net Server in console mode when troubleshooting.

HTH,
Ockert

Reply