When you make a query to Microsoft Index Server on your Microsoft Windows Server 2003-based computer, and the query includes several hundred scopes, you receive an error that is similar to the following:
Error 0x80070057. The parameter is incorrect.
↑ Back to the top
This issue may occur if the total query size is more than 65,535 bytes or 32,767 Unicode characters.
↑ Back to the top
To work around this issue, reduce the total query size. One of the ways you can do this is to use several catalogs that jointly cover the scopes that were formerly included in one catalog.
↑ Back to the top
The total query size includes the query, the scopes, and information about the target catalog. The query size has defined limits in Windows Server 2003. These limits have been imposed to make Index Server more robust and more secure. For example, some important resources, such as stack space, are kept in reserve. Therefore, some resources that are available for making the query are reduced, but Index Server can recover from a failure without causing a system lockup. Additionally, the limit on query size prevents odd queries that malicious users may use to take advantage of a problem.
↑ Back to the top