I have used windows authentication in my application and used Active Diretory class to check the user identity. I don't have any issues while executing application visual studion local server. But after dpeloyed into IIS, I am getting
"System.DirectoryServices.DirectoryServicesCOMException. there is no such object on the server."
Please let me know what could be the reason for getting the above error
This error typically means that you are trying to reference an LDAP path that is invalid or you used wrong credentials to access it. Since it works on local machine and does not work on a server it might be that application pool account is the issue. Also
it might be that domain controller (DC) is different and was not synced, etc...
Member
7 Points
80 Posts
ActiveDirectory issue - DirectoryServicesCOMException. there is no such object on the server
Apr 08, 2014 03:58 AM|kssaranmca2006|LINK
Hi,
I have used windows authentication in my application and used Active Diretory class to check the user identity. I don't have any issues while executing application visual studion local server. But after dpeloyed into IIS, I am getting
"System.DirectoryServices.DirectoryServicesCOMException. there is no such object on the server."
Please let me know what could be the reason for getting the above error
ldap asp.net iis
All-Star
35159 Points
9075 Posts
Re: ActiveDirectory issue - DirectoryServicesCOMException. there is no such object on the server
Apr 08, 2014 04:27 AM|smirnov|LINK
This error typically means that you are trying to reference an LDAP path that is invalid or you used wrong credentials to access it. Since it works on local machine and does not work on a server it might be that application pool account is the issue. Also it might be that domain controller (DC) is different and was not synced, etc...
ldap asp.net iis