Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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.

↑ Back to the top


Cause

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

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Keywords: KB843497, kbprb, kbtshoot

↑ Back to the top

Article Info
Article ID : 843497
Revision : 3
Created on : 10/30/2006
Published on : 10/30/2006
Exists online : False
Views : 133