Last post Jul 20, 2011 04:47 PM by saibaba111
Jul 18, 2011 01:17 PM|saibaba111|LINK
I have an asp web application that reads and updates user's information from and to Active directory. Everything worked fine on windows 2003 server and now when I moved the application from 2003 to 2008 R2 I get the 500 internal server error and when I
checked the IIS logs I see "An operations Error occured"
Also application works on the server without any problem but when I try from my machine it doesn't. I am thinking it must be because of some security issue but not sure what is it.
Any help would be greatly appreciated.
Jul 19, 2011 07:21 PM|gww|LINK
Are you using windows authentication? If so, make sure to disable anonymous access and enable integrated authentication.
Jul 20, 2011 04:47 PM|saibaba111|LINK
Thanks for your reply.
Yes I am using windows authentication. I have disabled anonymous access and enabled integrated authentication. But still I get the same error.
I have narrowed the isse to the line of code where it it tries to execute the LADP query. it gives error code : -2147217865
However if I pass my user ID and password to the LDAP connection then it seems to be working.