Windows error 0x8007203A, -2147016646

Detailed Error Information

DS_SERVER_DOWN[1]

MessageThe server is not operational.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code8250 (0x203a)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x0000203a.

Questions

7votes
3answers

Why does authenticating against LDAP with DirectoryEntry intermittently throw COMException (0x8007203A): "The server is not operational"?

If anybody has a similar story, please post details below! I'm building an ASP.NET website which needs to support authentication against LDAP. On windows, LDAP auth can be performed via Active Directory (I'm no expert, but AD seems to simply be a particular flavor of ldap). I don't control the [...] read more
.net
asp.net
com
ldap
3votes
1answer

Access to different domain in active directory using C# .net application works in local machine but not when hosted in IIS server

I'm using a C# web application to search for users in different domain in active directroy. In the actual scenario we have employees from two different domains say for eg: India, US. When the application is hosted in IIS server, I'm not able to retrive users from US domain. When [...] read more
c#
.net
active-directory
2votes
1answer

LDAP Authentication for asp.net Web API

I'm working on WEB API project using ASP.NET technology. This Web API need to check the user from AD Active Directory, as domain authentication using LDEP:// [HttpGet] public IHttpActionResult ListProperties(string domainName, string userName, string password) { try { using (DirectoryEntry dEntry = new DirectoryEntry("LDAP://" + domainName, userName, password)) { DirectorySearcher [...] read more
asp.net
authentication
ldap
asp.net-web-api2
1vote
1answer

Daily bizarre network dropouts

We have a Hyper-V-hosted Windows Server 2008 R2 Standard server with Remote Desktop Services which has a long-standing problem whereby, every day in the early hours of the morning, its networking encounters lots of strange problems: 1. Using Command Prompt to nslookup and ping FQDNs both public (www.google.co.uk) and private [...] read more
networking
windows-server-2008-r2
hyper-v
rds
1vote
3answers

'Microsoft Exchange Server' reported error (0x8004011B)

Unknown error 0x8004011B appears after an Outlook Send and Receive operation. Exchange Server 2007, clients Outlook 2003 error_image [https://img200.imageshack.us/img200/9918/erroru.png] I looked at these with no luck so far. http://support.microsoft.com/kb/555049 http://support.microsoft.com/kb/922255 (editing registry, dismount and mount didn't help.) It has something to do with the Offline Address List, the Global Address [...] read more
exchange-2007
outlook-2003
1vote
0answers

System.DirectoryServices PrincipalContext with read only domain controller

I have an application which has certain functionality secured by performing an Active Directory lookup via DirectoryServices. I am in the midst of migrating this code from a web host in our old domain to a new domain. The code worked flawlessly on the old domain. However, errors occur when [...] read more
c#
dns
ldap
directoryservices
principalcontext
1vote
0answers

LDAP port 636 DirectorySearch.FindOne fails - The server is not operational

Running the following code with port 636 (secure) through a console application it works fine, however through a ASP.Net web site it fails: DirectoryEntry authServer = new DirectoryEntry(@"LDAP://zxxx.cf.ac.uk:636", "", "", AuthenticationTypes.Anonymous); DirectorySearcher directorySearch = new DirectorySearcher(authServer, "(CN=sissh6)"); SearchResult result = directorySearch.FindOne(); Here is the error: Problem authenticating : System.Runtime.InteropServices.COMException (0x8007203A): [...] read more
ldap
directoryservices
1vote
0answers

How to catch a COMException properly from ASP.NET?

We are using AD to authenticate user for our website, and sometimes the Web server is not be able to connect to the DC server, and we got a COMException (0x8007203a): The server is not operational. Even when I catch this exception in a similar code block below, the exception [...] read more
asp.net
com
exception-handling
1vote
1answer

can't connect to AD without specifically connecting to a DC

I'm trying to bind to an Active Directory server in C# but on-site I seem to have issues not reproducible in the test environment. I'm getting an Exception 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.RefreshCache() at System.DirectoryServices.DirectoryEntry.FillCache(String propertyName) at System.DirectoryServices.DirectoryEntry.get_NativeGuid() the code looks [...] read more
c#
active-directory
domaincontroller
1vote
1answer

Exchange Server 2003 - Can't connect to exchange server in same machine

I have an Exchange Server running in a remote machine. We also have an application that connects to this Exchange Server through ActiveDirectory and Independentsoft's WebDav. This works perfectly when I run the application locally, but if I install it in the machine where the Exchange Server is running I [...] read more
active-directory
exchange-server
webdav
exchange-server-2003
0votes
1answer

Is it possible to use Windows Server 2012 Essentials as a lone server that hosts web sites?

Complete and total server n00b who knows just enough to be dangerous. :o) I bought this Dell T110 server and it came with Windows Server 2012 Essentials. I want to use this as a web server to host websites. I know, from what I've accomplished so far, that the server [...] read more
windows-server-2012
0votes
2answers

XP cant access Active Directory (System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational at )

I have the problem that I cannot access Active Directory from a Windows XP SP3 machine. The server is a Windows Server 2008 R2. I could access AD from my Windows 7 and other machines, but XP won't work. I get the Exception... System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational [...] read more
windows-server-2008
windows-xp
0votes
2answers

Use SSL to connect to LDAP with .Net DirectoryServices

I have some .NET working code (both as a desktop application and as a IIS deployment) to read data from LDAP: string ldapUrl = "LDAP://myLdapUrl.example/ou=user,dc=MyDC"; AuthenticationTypes auth = AuthenticationTypes.None; using (DirectoryEntry directoryEntry = new DirectoryEntry( ldapUrl, "cn=ldap_user,ou=user,dc=MyDC", "NotMyTruePassword", auth) { using (DirectorySearcher directorySearcher = new DirectorySearcher(directoryEntry)) { directorySearcher.PropertiesToLoad.AddRange(new[] { "uid", [...] read more
c#
.net
ssl
ldap
directoryservices
0votes
1answer

Not able to connect through LDAP

I'm working on WEB API project using ASP.NET technology. This Web API need to check the user from AD Active Directory, as domain authentication using LDEP:// [HttpGet] public IHttpActionResult ListProperties(string domainName, string userName, string password) { try { using (DirectoryEntry dEntry = new DirectoryEntry("LDAP://" + domainName, userName, password)) { DirectorySearcher [...] read more
c#
asp.net
active-directory
ldap
asp.net-web-api2
0votes
1answer

C# code cannot change AD password. (System.Runtime.InteropServices.COMException)

I'm trying to create a simple website to change my AD password. The website will be hosted internally in my IIS. Here is how my UI looks like: Here [https://i.stack.imgur.com/Xgvdl.png] After clicking the submit button, I receive this error (which I displayed using an asp.net label): this image [https://i.stack.imgur.com/Yb37C.png] System.Runtime.InteropServices.COMException [...] read more
c#
asp.net
active-directory
ldap
0votes
1answer

DirectoryEntry "The server is not operational" trying to query remote server

I am trying to query a remote Active Directory server that requires a VPN connection be established (in order to access the server). Below is the snippet of my code: DirectoryEntry adsEntry = new DirectoryEntry(); adsEntry.Username = "user_name"; adsEntry.Password = "password"; adsEntry.AuthenticationType = AuthenticationTypes.Secure; adsEntry.Path = "LDAP://domain.com:636/CN=John Doe,DC=staff,DC=com"; DirectorySearcher adsSearcher [...] read more
c#
asp.net
asp.net-mvc
asp.net-mvc-4
directoryservices
0votes
3answers

Previously working webservice stopped working

All of a sudden we started to get this error in our webapplication. It's weird because it has been working for months and months and noone has ever touched the code. Does anyone have any idea why this error could occur all of a sudden? SERVER ERROR IN '/' APPLICATION. [...] read more
asp.net
web-services
soap
0votes
1answer

Access Active Directory user groups from DMZ

I have a method that checks if a user is a member of a AD group. I tried using my own AD account as credentials and then I get some information about the userprincipal, like email etc. But when accessing the userprincipals groups I get the following error message: > [...] read more
c#
active-directory
dmz
0votes
0answers

Server Error in '/' Application. on Authenticate Directory services COMException (0x8007203a)

this is completely ODD to me. I can run this perfectly fine in local machine but when deploying it to server it fails... Server Error in '/' Application. The server is not operational. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack [...] read more
c#
asp.net
active-directory
0votes
1answer

C# codes could not connect to ldap after it restart

Client: win XP embedded; server: win server 2008 code: private DirectorySearcher getDirectorySearcher() { Runtime.Log.Info("Root Path Format: " + _rootPath); _directoryEntry = new DirectoryEntry(_rootPath, _username, _password); try { _directoryEntry.RefreshCache(); return new DirectorySearcher(_directoryEntry) { PageSize = 1000 }; } catch (Exception ex) { _directoryEntry.Close(); _directoryEntry.Dispose(); throw; } } These codes works well [...] read more
c#
ldap
0votes
0answers

The server is not operational exception freezes my windows service

In our intranet we got a windows service with 2 timers in it. First one works each 5 minutes and get Active Directory users list and update Database with it, second works each hour and do some other stuff. Sometime maintenance work on network starts, and service inner logic catch [...] read more
c#
timer
active-directory
windows-services
-1votes
1answer

XP cant access Active Directory (System.Runtime.InteropServices.COMException (0x8007203A): The server is not operational at )

I have the problem that I cannot access Active Directory from a Windows XP SP3 machine. The server is a Windows Server 2008 R2. I could access AD from my Windows 7 and other machines, but XP won't work. I get the Exception... > System.Runtime.InteropServices.COMException (0x8007203A): The server is not [...] read more
c#
.net
exception
com
windows-xp

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0