Microsoft KB Archive/209489

= ACC2000: Debugging and Troubleshooting Tips for Linked SQL Tables =

Article ID: 209489

Article Last Modified on 1/26/2005

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



This article was previously published under Q209489



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



SUMMARY
This article lists some techniques that you can use to determine indirect causes of error messages when using linked (attached) SQL tables:  Make sure the connection information, such as server name, login ID, and password, is correct. If any of this information has changed, you may have to delete and then re-create the links with the new connection information.  Check for multiple, corrupted, or outdated copies of the following files.

In Microsoft Windows 95 or later, use Windows Explorer to search for copies of the following files:   ODBC32.DLL   - dated  01-22-1999 or later, with 198000 bytes DBNMPNTW.DLL - dated 11-20-1998 or later, with 33040 bytes SQLSRV32.DLL - dated 11-20-1998 or later, with 508176 bytes NETAPI32.DLL and NETAPI - depends on the network being used

NOTE: The sizes and dates referenced are correct if the files were installed by Microsoft Access 2000. Make sure that all these files are in their appropriate locations. All of the files are usually installed in the \Windows\System folder.  Use another application, such as one of the following, on the same computer and try to link the same data source:

 SQL Server Enterprise Manager PowerBuilder MSQuery</li></ul> </li> If you cannot access the data source from another application, you may have a problem with the network, and not with Microsoft Access or the Microsoft Open Database Connectivity (ODBC) driver.</li> Try to link another data source, such as another SQL Server table, from a different database server. If you can link the other data source, the original server may be unavailable, or you may need to reconfigure the entry for that server by using the ODBC Administration utility.</li> Try to link the same data source from a different computer. If you still cannot gain access to the SQL Server computer, you may have a network-wide problem, or perhaps the server is down or is not communicating.</li> Try increasing the ODBCTimeout setting on the property sheet of the query.</li> Rename the current Odbc32.dll, Dbnmpntw.dll, and Sqlsrv32.dll files, restart the server, and reinstall ODBC.</li></ol>

<div class="references_section">