waitForPagedSearchData in Webservice

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top