Lightweight Directory Access Protocol
Clients that use the DirectorySearcher class to query the Active Directory
directory service may receive an incomplete result set.
It could be identified by the following error :
System.DirectoryServices.DirectoryServicesCOMException (0x800700EA): More
data is available.
This problem appears on MOSS
2007 while a workflow is processed and a domain group was used to define the
approvers.
To correct the problem, go to the
web.config of the target webapp (the path could be something like
: C:\Inetpub\wwwroot\wss\VirtualDirectories\webappname) and apply the
following changes :
- Add this first green block
above the red tag
[…]
<section name="system.directoryservices"
type="System.DirectoryServices.SearchWaitHandler, System.DirectoryServices,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
</configSections>
<SharePoint>
[…]
- Add this second green block
between the red tag
[…]
</SharePoint>
<system.directoryservices>
<DirectorySearcher waitForPagedSearchData="true"
/>
</system.directoryservices>
<system.web>
[…]
Problem is described for .NET
1.1 but this post is dedicated for .NET 2.0