I picked up this project which used XML to access a domino server and returns data to a asp.net page. I know nothing about Domino.
The code that it is failing on is
objRequest.Credentials = new NetworkCredential(NSGlobal.User, NSGlobal.Password, NSGlobal.Domain);
objRequest.PreAuthenticate=true;
objRequest.Timeout = 1200000;
objResponse = objRequest.GetResponse();
It fails on the last line and goes to the catch block. The catch error is “The remote server returned an error: (401) Unauthorized.”
I have validated that the user, password and domain are valid. I am stumped. Please help.
This has been solved. I replaced the web.config with a more recent one. I’m not sure why the difference, but I’m happy it is now working.