The document is archived and information here might be outdated
Query file is corrupted.
This error occurs during the opening process of a query file. For some reason, the query file is damaged and cannot be used.
You can try any of the following remedial actions:
Rebuild the query file and try again.
Recover a previous version of the query file from source control.
Check the Microsoft Knowledge Base for any available new information on query file errors with the Visual Database Tools. See the Microsoft Support Knowledge Base.
Other ResourcesDesigning Queries and Views (Visual Database Tools)
Help and InformationGetting SQL Server 2005 Assistance