ACC: Save Password Check Box Dimmed When Linking ODBC Tables

ID: Q164003


The information in this article applies to:

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, you should first make a backup copy of the registry files (System.dat and User.dat). Both are hidden files in the Windows folder.

SYMPTOMS

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

You are unable to save the Login ID and Password locally when you link a table from an ODBC data source because the "Save password" check box is dimmed in the Link Tables dialog box.


CAUSE

There are two possible causes:


RESOLUTION

Cause 1 - There is an MSysConf Table on the SQL Database Server

The server administrator has disabled local storage of the Login ID and Passwords in linked tables by creating an MSysConf table on the server, which contains the following record:

     Config          nValue
     ------          ------
      101               0 

To re-enable users to save Login IDs and Passwords locally, change the record to:

     Config          nValue
     ------          ------
      101               1 

Cause 2 - Network Password Caching Has Been Disabled

Edit the Windows registry to enable network password caching.

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry.

Use Registry Editor (Regedit.exe) to do either of the following to re-enable network password caching:


MORE INFORMATION

If you are administering an SQL database that uses Microsoft Access as a front end, you can create a table in your SQL database named MSysConf to help control communication between the two applications. The MSysConf table has two potential functions:


REFERENCES

For more information about using the MSysConf table to prevent the storage of Login IDs and Passwords locally, please see the following article in the Microsoft Knowledge Base:

Q101084 ACC: Storing SQL Database Login IDs and Passwords Locally

For more information about the MSysConf table, search the Help Index for "MSysConf table."

For more information about disabling password caching using the Policy Editor in Microsoft Windows 95, please see the following article in the Microsoft Knowledge Base:

Q142233 No Password Prompt After Network Adapter Is Detected

Additional query words: attach


Keywords          : kbusage OdbcMsys 
Version           : 7.0 97
Platform          : WINDOWS 
Issue type        : kbprb 

Last Reviewed: May 19, 1999