BUG: Workgroup information file is reset to default System.mdw after self-registration
This article was previously published under Q241230 Moderate: Requires basic macro, coding, and interoperability
skills. This article applies only to a Microsoft Access database (.mdb). On This PageSYMPTOMS On a computer on which you have installed both Microsoft
Access 97 and Microsoft Access 2000, you find that one or both versions of
Access are using the wrong workgroup information file (default name,
System.mdw). This change can cause one of the following symptoms. NOTE: You notice these symptoms when there has been a change in security.
CAUSE You have, at some point, defined a workgroup information
file that does not have the name System.mdw, or that is not in the same
location as it was when you first installed that version of Access.
RESOLUTION To resolve this problem, obtain Microsoft Office 2000
Service Release 1/1a (SR-1/SR-1a). To obtain SR-1/SR-1a, click the article number below to view the article in the Microsoft Knowledge Base: 245025 (http://support.microsoft.com/kb/245025/EN-US/) OFF2000: How to Obtain and Install Microsoft Office 2000 Service Release 1/1a (SR-1/SR-1a)
To temporarily work around this problem, create a shortcut
to Access that includes the /wrkgrp switch and path to the workgroup information file. This forces
Access to always use the same workgroup information file and to ignore the
registry setting. The following is an example command line that you can write
in the shortcut to indicate that Access must always use the workgroup
information file called C:\Secure.mdw:
"C:\Program Files\Microsoft Office\Office\Msaccess.exe" /wrkgrp "C:\Secure.mdw"
For
additional information about this issue, click the article number below to view
the article in the Microsoft Knowledge Base: 238258 (http://support.microsoft.com/kb/238258/EN-US/) ACC2000: Access Database Does Not Use Record-Level Locking When Started from a Windows Shortcut
STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
at the beginning of this article.
This problem was corrected in Microsoft Office 2000
SR-1/SR-1a. MORE INFORMATIONSteps to Reproduce Problem
Explanation of BehaviorWhen you run Access 97, Access 97 reregisters itself and makes itself the current version of Access on the computer; this means that at this point, if you click on an Access database, Access 97 tries to open the database. Likewise, when you run Access 2000 after running Access 97, Access 2000 reregisters itself, and makes itself the current version. When Access 2000 reregisters, Access 2000 also rewrites the System.mdw location to the Windows registry. The location written to the registry is always the location determined when Access was first installed on the computer. If Access 97 does not find the System.mdw file location there, Access 97 displays a message that the System.mdw file could not be found. If Access 2000 does not find the System.mdw file location there, Access 2000 starts the repair process to create a default System.mdw file with no security defined.The following is an example of the registry keys that are rewritten when Access self-registers. Access 97:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\8.0\Access\Jet\3.5\Engines
Access 2000:Name = SystemDB Data = <path of Windows\System folder>\System.mdw
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\9.0\Access\Jet\4.0\Engines
NOTE: You do not notice this problem on a computer running both Access
97 and Access 95 because Access 95 does not reregister and make itself the
current version of Access. In this configuration, Access 97 is always the
current version of Access.
Name = SystemDB Data = <path you defined during Setup>\System.mdw REFERENCES For information about another issue when using a shortcut
to open an Access 2000 database, please see the following article in the
Microsoft Knowledge Base: 238258 (http://support.microsoft.com/kb/238258/EN-US/) ACC2000: Access Database Does Not Use Record-Level Locking When Started from a Windows Shortcut
For more information about using command-line switches, please
see the following articles in the Microsoft Knowledge Base: 209207 (http://support.microsoft.com/kb/209207/EN-US/)How to use command-line switches in Microsoft Access For more information about the Workgroup Administrator program,
click Microsoft Access Help on the Help menu, type work with a workgroup information file in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
| Article Translations
|

Back to the top
