Microsoft KB Archive/107634

= 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:

 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. If there is only one copy of the file on your hard drive, change the name to REG.OLD to create a backup. Exit Windows and restart it. When Windows restarts, it will not find a REG.DAT file and will re-create it with default settings. If Works was installed in the default path of C:\MSWORKS, complete the following steps (if not, skip to number 5):  In Program Manager, choose Run from the File menu. Type regedit and press ENTER to run the Registration Info Editor.</li> From the File menu, choose Merge Registration File.</li> Switch to the MSWORKS directory and double-click MSWORKS3.REG.</li> Close the Registration Info Editor and save the changes.</li></ol> </li> If Works was not installed into the default path of C:\MSWORKS, complete the following steps: <ol style="list-style-type: lower-alpha;"> 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.</li> From the Find menu, choose Replace.</li> Replace all instances of C:\MSWORKS\MSWORKS.EXE with \MSWORKS.EXE, where represents the drive letter and directory where Works was installed.</li> Save the file, making sure to specify TEXT as the format.</li> Complete steps a-c in step 4 above.</li> Switch to the directory in which Works was installed and double- click MSWORKS3.REG.</li> Close the Registration Info Editor and save the changes.</li></ol> </li> Remove and reinstall the OLE files Works installs in the Windows SYSTEM directory: <ol style="list-style-type: lower-alpha;">  Delete the following 12 files that Works installs in the Windows SYSTEM subdirectory: <pre class="fixed_text">          COMPOBJ  DLL                          OLE2NLS  DLL CTL3DV2 DLL                          OLE2PROX DLL OLE2    DLL                          PUBOLE   DLL OLE2    REG                          STORAGE  DLL OLE2CONV DLL                         WKSOLE   DLL OLE2DISP DLL                         WKSOLEUI DLL </li> Run the Microsoft Works Setup and choose the Remove All option.</li> Run the Works Setup again, this time from the original disks, and choose the Complete Installation option.</li></ol> </li></ol>

Keywords: KB107634

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.