Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jsf-2/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Active directory “错误”;没有足够的存储空间来处理此命令;Windows server 2008_Active Directory_Window - Fatal编程技术网

Active directory “错误”;没有足够的存储空间来处理此命令;Windows server 2008

Active directory “错误”;没有足够的存储空间来处理此命令;Windows server 2008,active-directory,window,Active Directory,Window,我在c#中创建了一个web服务,可以读取active directory中的所有组和用户名,该功能工作正常,没有任何错误,但现在我遇到了一个错误 "Not enough storage is available to process this command" 此功能正在连接到Windows server 2008 <!--Used for Active Directory connections--> <add name="LDAPConStr" connectionStr

我在c#中创建了一个web服务,可以读取active directory中的所有组和用户名,该功能工作正常,没有任何错误,但现在我遇到了一个错误

"Not enough storage is available to process this command"
此功能正在连接到Windows server 2008

<!--Used for Active Directory connections-->
<add name="LDAPConStr" connectionString="LDAP://dc=servername,dc=cc,dc=hh"/>

DirectoryEntry ldapServer = new DirectoryEntry(System.Configuration.ConfigurationManager.ConnectionStrings["LDAPConStr"].ConnectionString);
DirectorySearcher searcher = new DirectorySearcher(ldapServer);

DirectoryEntry ldapServer=新的DirectoryEntry(System.Configuration.ConfigurationManager.ConnectionString[“LDAPConStr”].ConnectionString);
DirectorySearcher search=新的DirectorySearcher(ldapServer);
我检查了服务器,内存正常, 我怎样才能解决这个问题?

我找到了解决办法