ACC97: "Can't Find the Dynamic-Link Library (DLL) Mso97rt" Error Message
This article was previously published under Q167058 Advanced: Requires expert coding, interoperability, and multiuser skills.
On This PageSYMPTOMS
When you use the /runtime switch to start Microsoft Access 97 on a computer that does not have the Microsoft Office 97 Developer Edition Tools (ODE) or a custom application created by using the ODE installed, you may receive the following error message:
Can't find the dynamic-link library (DLL) Mso97rt.
You can't use the /runtime command-line switch unless you have installed Microsoft Office 97 Developer Edition Tools. CAUSE
The file, MSO97rt.dll, needed to simulate the Microsoft Access run-time
environment, is only installed on your computer when you run Setup of the
ODE or a custom application that was created with the ODE.
RESOLUTION
To use the /runtime switch with the retail version of Microsoft Access 97, you must install the ODE or a custom application created with the ODE on your computer.
MORE INFORMATION
In versions of Microsoft Access earlier than Microsoft Access 97, it was
possible to use the /runtime switch with the retail version. However, to simulate the Microsoft Access run-time environment in Microsoft Access 97, you must have an application that contains the MSo97rt.dll file installed on your computer.
The following information is contained in the Microsoft Access 97 Help topic, "Simulating the Microsoft Access Run-Time Environment." This information is not correct:
If you have the Microsoft Office 97, Developer Edition Tools installed,
you can test and debug your application in Microsoft Access by using the
Microsoft Access /runtime startup command-line option to turn off full
Microsoft Access features and simulate the environment in which users
will run your application.
It also includes the following tip, which is not correct:
Tip If Microsoft Access is installed on a user's machine, you can test
your run-time application by copying the file Mso97rt.dll to the user's
c:\Program Files\Common Files\Microsoft Shared\VBA folder.
Also, for this method to work, your application must have a startup form that provides access to all the objects you want available (a main switchboard form), because you can't display the Database window in run-time mode. Steps to Reproduce BehaviorThe following steps assume that the Mso97rt.dll file has not been installed on your computer by a custom application or the ODE.
REFERENCES
For more information about using the /runtime switch, search the Help Index for "run-time environment, simulating," or ask the Microsoft Access 97 Office Assistant.
| Article Translations
|
Back to the top
