H
Harald
Hi,
I'm trying to read some data with C# in .NET 2.0. I'm using the Directory
classes as follows:
...
DirectoryEntry entry = new DirectoryEntry();
entry.Path =
"LDAP://myServer.intern.myCompany.de:51000/ou=MyApplication,ou=srv,o=myCompany";
entry.Username = LDAP_APP_USER;
entry.Password = LDAP_APP_USER_PSWRD;
DirectorySearcher searcher = new DirectorySearcher(entry,
myFilter);
SearchResultCollection results = searcher.FindAll();
foreach(SearchResult result in results)
...
results.Dispose();
...
The values for Username, Password and Path (and myFilter) are correct and
access works fine within other acess software like Jxplorer. But here,
unfortunately the call "searcher.FindAll()" throws a
System.Runtime.InteropServices.COMException:
"0x8007203A: The server is not operational".
(Translated English version, we use VS2005 German)
I have no idea what to do! Thx for your appreciated help!
- Harald
I'm trying to read some data with C# in .NET 2.0. I'm using the Directory
classes as follows:
...
DirectoryEntry entry = new DirectoryEntry();
entry.Path =
"LDAP://myServer.intern.myCompany.de:51000/ou=MyApplication,ou=srv,o=myCompany";
entry.Username = LDAP_APP_USER;
entry.Password = LDAP_APP_USER_PSWRD;
DirectorySearcher searcher = new DirectorySearcher(entry,
myFilter);
SearchResultCollection results = searcher.FindAll();
foreach(SearchResult result in results)
...
results.Dispose();
...
The values for Username, Password and Path (and myFilter) are correct and
access works fine within other acess software like Jxplorer. But here,
unfortunately the call "searcher.FindAll()" throws a
System.Runtime.InteropServices.COMException:
"0x8007203A: The server is not operational".
(Translated English version, we use VS2005 German)
I have no idea what to do! Thx for your appreciated help!
- Harald