ACC: "Data Source Not Found, No Default Driver Specified" Error Message

ID: Q95050


The information in this article applies to:


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you are trying to attach a SQL Server table or trying to use a table that has already been attached, you may receive the following error message:

Data source not found and no default driver specified.


CAUSE

You may have a missing, damaged, or incorrect ODBC.INI file.

Other situations may indirectly cause this error message. For more information, please see the following article here in the Microsoft Knowledge Base:

Q102437 ACC: Debugging & Troubleshooting Tips for Attached SQL Tables


RESOLUTION

Verify the following:


MORE INFORMATION

The contents of your ODBC.INI file should resemble the following:


   [ODBC Data Sources]
   MYSERVER=SQL Server
   YOURSRVR=SQL Server

   [MYSERVER]
   Driver=C:\WINDOWS\SYSTEM\SQLSRVR.DLL
   Description=SQL Server on server MYSERVER
   OemToAnsi=No
   Network=dbnmp3
   Address=\\MYSERVER\PIPE\SQL\QUERY

   [YOURSRVR]
   Driver=C:\WINDOWS\SYSTEM\SQLSRVR.DLL
   Description=SQL Server on server YOURSRVR
   OemToAnsi=No
   Network=dbnmp3
   Address=\\YOURSRVR\PIPE\SQL\QUERY 


You will receive the error message if there is no section that refers to the SQL database server to which you are trying to attach or if any one of the following is true:

Additional query words: kbtshoot


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

Last Reviewed: March 19, 1999