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/107634

From BetaArchive Wiki
Knowledge Base


Works Error Msg: OLE Registration Error - Continue Anyway?

Article ID: 107634

Article Last Modified on 1/18/2007



APPLIES TO

  • Microsoft Windows 98 Standard Edition



This article was previously published under Q107634

3.00 WINDOWS kbother

SYMPTOMS

When starting Works, you may receive the following error message:

OLE registration database incorrect. Run Setup. Continue anyway?

This message means that there is a problem with the registration entries in the REG.DAT file, for example:

  1. The Works application has been changed to a different location on the hard drive.
  2. The REG.DAT file is corrupt.
  3. There are two copies of the REG.DAT file on your hard drive.
  4. One of the OLE System files referenced by the REG.DAT entries is corrupt.


RESOLUTION

This error can be eliminated by reinstalling Works.

To reinstall Works, do the following:

Double-click the Microsoft Works Setup icon and choose Reinstall.

-or-


Rerun setup from your Works installation disks.

If reinstalling Works does not eliminate the error, try the following troubleshooting steps.

Verify that the WINDIR line is correct. If the WINDIR is incorrect, Works will not be able to find the REG.DAT file to correctly register the information.

To determine what WINDIR is pointing to:

  1. Double-click the MS-DOS Prompt icon (usually located in the Main group.)
  2. At the MS-DOS prompt, type "set" (without the quotation marks).

The Set command will display all Set statements, the Path, and the WINDIR setting. WINDIR should point to a logical Windows directory. For example, if Windows is on drive C and installed in a directory called WINDOWS, then the WINDIR setting will read as follows:

   WINDIR=C:\WINDOWS
                

If the information after the equal sign does not show a logical drive, contains anything other than a "\" or a ":" or does not say the actual directory for Windows, then the Path= statement is incorrect.

If the WINDIR setting is correct and you receive the error above, use the following steps to correct the REG.DAT file:

  1. Check to see if there are two REG.DAT files on your hard disk drive. If there are two files, one file is probably in the Windows directory, while the other is likely in the SYSTEM subdirectory of the Windows directory. Your REG.DAT file should only be in the Windows directory.
  2. If there is only one copy of the file on your hard drive, change the name to REG.OLD to create a backup.
  3. Exit Windows and restart it. When Windows restarts, it will not find a REG.DAT file and will re-create it with default settings.
  4. If Works was installed in the default path of C:\MSWORKS, complete the following steps (if not, skip to number 5):
    1. In Program Manager, choose Run from the File menu.
    2. Type regedit and press ENTER to run the Registration Info Editor.
    3. From the File menu, choose Merge Registration File.
    4. Switch to the MSWORKS directory and double-click MSWORKS3.REG.
    5. Close the Registration Info Editor and save the changes.
  5. If Works was not installed into the default path of C:\MSWORKS, complete the following steps:
    1. Open the MSWORKS3.REG file in Windows Write (usually located in the Accessories group of Program Manager). MSWORKS3.REG is located in the MSWORKS directory, not the Windows directory or the SYSTEM subdirectory in the Windows directory.
    2. From the Find menu, choose Replace.
    3. Replace all instances of C:\MSWORKS\MSWORKS.EXE with <path>\MSWORKS.EXE, where <path> represents the drive letter and directory where Works was installed.
    4. Save the file, making sure to specify TEXT as the format.
    5. Complete steps a-c in step 4 above.
    6. Switch to the directory in which Works was installed and double- click MSWORKS3.REG.
    7. Close the Registration Info Editor and save the changes.
  6. Remove and reinstall the OLE files Works installs in the Windows SYSTEM directory:
    1. Delete the following 12 files that Works installs in the Windows SYSTEM subdirectory:

                 COMPOBJ  DLL                          OLE2NLS  DLL
                 CTL3DV2  DLL                          OLE2PROX DLL
                 OLE2     DLL                          PUBOLE   DLL
                 OLE2     REG                          STORAGE  DLL
                 OLE2CONV DLL                          WKSOLE   DLL
                 OLE2DISP DLL                          WKSOLEUI DLL
                              
    2. Run the Microsoft Works Setup and choose the Remove All option.
    3. Run the Works Setup again, this time from the original disks, and choose the Complete Installation option.


Keywords: KB107634