.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

"The server is not operational"

Posted By:      Posted Date: August 21, 2010    Points: 0   Category :ASP.Net

Hi all,

I am new for active directory.

I am trying to window authentication with active directory but I am getting error "The server is not operational" at the time of authentication.

object obj = entry.NativeObject;

Please let me know your thoughts to solve this problem.

Thanks in advance.

View Complete Post

More Related Resource Links

ActiveDirectoryMemberShipProvider and COMException (0x8007203A): The server is not operational

I have an ASP.Net 2.0 website configured to use Active Directory for forms authentication via the ActiveDirectoryMemberShipProvider. Configuration is as follows: <membership defaultProvider="ActiveDirectoryMembershipProvider"> <providers> <add name="ActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider, System.Web, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" attributeMapUsername="sAMAccountName" enablePasswordReset="false" requiresQuestionAndAnswer="false" maxInvalidPasswordAttempts="999" enableSearchMethods="false" connectionStringName="LDAP://domain.com/DC=domain,DC=com" connectionUsername="domain\ldapUserAccount" connectionPassword="password"/> </providers> </membership> This works fine initially, then, after some time (day or two) I get errors with the following stack trace: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) at System.DirectoryServices.DirectorySearcher.Fi
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend