Microsoft KB Archive/843497

= You receive “The parameter is incorrect” error when you make a query that includes several hundred scopes in Windows Server 2003 =

Article ID: 843497

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)

-





SYMPTOMS
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.



CAUSE
This issue may occur if the total query size is more than 65,535 bytes or 32,767 Unicode characters.



WORKAROUND
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.



MORE INFORMATION
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.

Keywords: kbtshoot kbprb KB843497

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.