Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/164921

From BetaArchive Wiki

Article ID: 164921

Article Last Modified on 1/19/2007


  • Microsoft Office 97 Standard Edition
  • Microsoft Excel 97 Standard Edition
  • Microsoft Word 97 Standard Edition
  • Microsoft Access 97 Standard Edition
  • Microsoft PowerPoint 97 Standard Edition
  • Microsoft Outlook 97 Standard Edition
  • Microsoft Project 98 Standard Edition

This article was previously published under Q164921

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


When you start any of the programs listed at the beginning of this article, either of the following error messages may appear:

Error Starting Program
A required .DLL file, MSO97.DLL, was not found.


<Program> requires the file 'MSO7enu.DLL' to run. Run Setup again to assure proper installation.

where <Program> is the name of the program you are attempting to start.


This problem may occur if the following conditions are true:

  • You run Setup from an administrative installation point and click "Run from Network Server."


  • You choose to keep all shared components on the server.


  • You then perform a Typical or a Custom installation for a stand-alone version of any of the Office programs listed at the beginning of this article from the program compact disc or from a different network server or share.


  • You start the stand-alone program.


To prevent this problem from occurring, do not install a stand-alone version of the program after you perform a "Run from Network Server" installation on the same computer. To install a stand-alone version of Microsoft Outlook after you perform a "Run from Network Server" installation of other Office 97 program, perform a "Run from Network Server" installation of Microsoft Outlook 97.

To work around this problem, use either of the following two methods.

Method 1: Copy Ms*.dll Files to the Folder Indicated in the Registry

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Copy the .dll files that the program cannot find to the folder that the program searches.

To determine which folder to copy the files to, look in the registry. The following registry key indicates the folder that an Office program search for the Mso97.dll and Mso7enu.dll files:


If you copy Mso97.dll and Mso7enu.dll to the folder referenced by this key, you can prevent the problem from occurring. To do this, use the following steps:

  1. On the Start menu, click Run. In the Open box, type regedit and click OK.
  2. Double-click the plus signs (+) to open the following key:


  3. Click the folder to the left of 8.0.
  4. Write down the name of the folder that appears to the right of the BinDirPath entry in the value pane. (Usually, the location is C:\Program Files\Microsoft Office\Office.)

    The folder that is displayed is the folder in which you must copy Mso97.dll and Mso7enu.dll.
  5. On the Registry menu, click Exit.

After you record the folder name referred by the BinDirPath key, use the Windows Explorer to copy Mso97.dll and Mso7enu.dll into that folder from the product's compact disc or from a network server that contains an administrative installation of the product.

After you copy the Mso97.dll and Mso7enu.dll files to the correct folder, start the stand-alone program.

Method 2: Change the PATH Statement in Autoexec.bat

You can also prevent this problem from occurring by modifying the PATH statement in the Autoexec.bat file so that it refers to the folder on the network server that contains Mso97.dll and Mso7enu.dll. (Usually, these files are located in the Msoffice\Office folder on the network server.)

NOTE: To use this method, you must assign a permanent drive letter to the network server and share. To do this, use the Map Network Drive button in the Windows Explorer to connect a drive letter.

To modify the Autoexec.bat file, follow these steps:

  1. On the Start menu, click Run. In the Open box, type notepad c:\autoexec.bat and click OK.
  2. If the PATH statement exists, add the path to the network server to it. For example, if Autoexec.bat contains the following line


    add a semicolon (;) and the path to the network server.

    For example, if drive G is connected to the network, add "G:\MSOFFICE\OFFICE" (without the quotation marks) to the end of the line as in the following example:


    If the PATH statement does not exist, add the statement as in the following example:


  3. On the File menu, click Save. Then click Exit on the File menu.

After you finish, restart the computer. You can then start the stand-alone program without receiving any error messages.

NOTE: If you must modify the PATH statement in the Autoexec.bat to resolve the problem, the symptoms in this article will occur when you restart Windows in Safe Mode or restart Windows in Step-by-Step Confirmation and choose not to load the Autoexec.bat.

For additional information, click the article number below to view the article in the Microsoft Knowledge Base:

190023 How to Edit the Autoexec.bat File in Microsoft Windows 98


Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.


When you install any of the programs listed at the beginning of this article, many keys, including the BinDirPath key, are created in your registry.

The BinDirPath key refers to the folders in which programs search for certain dynamic-link library (DLL) files, including Mso97.dll and Mso7enu.dll. In most cases, these two files are stored in the same folder as the program files that use them. However, if you perform a "Run from Network Server" installation of Microsoft Office 97, and then perform an installation of a stand-alone program, the BinDirPath key may point to a folder that does not contain Mso97.dll or Mso7enu.dll.

If this occurs, you may not be able to start the stand-alone program because it cannot find Mso97.dll and Mso7enu.dll in the folder. Programs installed as part of Microsoft Office 97 start correctly because the program files are in the same folder as the Mso97.dll and Mso7enu.dll files.

Additional query words: OFF97 launch

Keywords: kberrmsg kbfaq kbprb kbprb kbusage KB164921