G
Guest
I use DirectorySearcher and FindAll inside of a Web Service that is run once
a day. Unfortunately I am getting the More Data is available exception
frequently.
I read about using the wiatForPagesSearchData fix here
http://support.microsoft.com/default.aspx?scid=kb;en-us;833789, Where it
talks about placing waitForPagedSearchData in a config file.
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<configSections>
<section name="system.directoryservices"
type="System.DirectoryServices.SearchWaitHandler, System.DirectoryServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</configSections>
<system.directoryservices>
<DirectorySearcher waitForPagedSearchData="true" />
</system.directoryservices>
</configuration>
How would I do this for a web service? I tried placing the config info into
the web.config, but it did not help. I have Service Pack 1 for .NET
framework 1.1.
a day. Unfortunately I am getting the More Data is available exception
frequently.
I read about using the wiatForPagesSearchData fix here
http://support.microsoft.com/default.aspx?scid=kb;en-us;833789, Where it
talks about placing waitForPagedSearchData in a config file.
<?xml version="1.0" encoding="UTF-8" ?>
<configuration>
<configSections>
<section name="system.directoryservices"
type="System.DirectoryServices.SearchWaitHandler, System.DirectoryServices,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</configSections>
<system.directoryservices>
<DirectorySearcher waitForPagedSearchData="true" />
</system.directoryservices>
</configuration>
How would I do this for a web service? I tried placing the config info into
the web.config, but it did not help. I have Service Pack 1 for .NET
framework 1.1.