ACC: "Unable to Connect to Data Source" Error Message (1.x/2.0)

ID: Q95012


The information in this article applies to:


SYMPTOMS

Advanced: Requires expert coding, interoperability, and multiuser skills.

When you try to gain access to a SQL Server, you may receive the following error message:

Unable to connect to data source


CAUSE

The SQL Server you are trying to gain access to does not have a correct entry in the [SQLSERVER] section of the WIN.INI file or the SQL server is down, overloaded, or otherwise unavailable.


RESOLUTION

To correct this situation, verify that the SQL Server is up and available and that the entry in the [SQLSERVER] section of the WIN.INI file looks as follows:


   [SQLSERVER]
   MY_SERVER=DBNMP3,\\MY_SERVER\PIPE\SQL\QUERY 


If there are any spaces in this entry or if the server name in the \\MY_SERVER\PIPE\SQL\QUERY part of the statement is misspelled, you will receive the error message.


MORE INFORMATION

It is possible that there are other situations which may indirectly cause this error message. Here are several other things you can check to troubleshoot this problem:


REFERENCES

Microsoft Access "User's Guide," version 1.0, Appendix D, "Setting Up Microsoft Access on a Network," pages 660-662

Additional query words: odbc kbtshoot tshoot


Keywords          : kberrmsg kbusage OdbcOthr 
Version           : 1.0 1.1 2.0
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: March 13, 1999