MSQuery: "Connection Failed" Error Connecting to SQL ServerLast reviewed: February 2, 1998Article ID: Q125399 |
The information in this article applies to:
SYMPTOMSWhen you connect to an SQL Server data source, such as Microsoft SQL Server or Sybase SQL Server, you may receive the following error message:
Connection Failed: SQLState: '08001' SQL Server Error: -1 [Microsoft][ODBC SQL Server Driver]Unable to connect to data CAUSEThis error message usually indicates that the client workstation cannot find the SQL Server on the network. Possible causes for this problem include the following:
If you are using Microsoft Query for Windows or Windows NT ---------------------------------------------------------- - TCP/IP Sockets support has not been enabled on the SQL Server. - The client workstation has not been set up to run TCP/IP properly. - The SQL Server data source has not been setup with the proper TCP/IP address for the server. If you are using Microsoft Query for the Macintosh ------------------------------------------------- - You may receive the error message stated above if the MacTCP Control Panel device has not been installed. WORKAROUNDS
If you are using Microsoft Query for Windows or Windows NT
Method 1: Enable TCP/IP on the SQL Server (Windows NT)To do this, follow these steps:
Method 2: Configure the Client Workstation for TCP/IP ConnectivityMicrosoft Query for the Macintosh: In Microsoft Query for the Macintosh, you may receive the error message described in the "Symptoms" section if the MacTCP Control Panel device has not been installed. MacTCP is distributed with Apple Macintosh System 7.5. To add the MacTCP icon to the Control Panels folder, run the Setup program for System 7.5. For additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q120254 TITLE : "Configuring MacTCP for ODBC Use" |
Additional query words: 1.00 2.00 ODBC TCP IP connectivity
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |