The document is archived and information here might be outdated
The query cannot be run until it has been designed.
This error occurs when you open the query in Solution Explorer (opening causes the query to run), but so far the query has not been designed. You must first design the query using the Query and View Designer.
Other ResourcesDesigning Queries and Views (Visual Database Tools)
Help and InformationGetting SQL Server 2005 Assistance