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:
- The Works application has been changed to a different location on
the hard drive.
- The REG.DAT file is corrupt.
- There are two copies of the REG.DAT file on your hard drive.
- 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.
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:
- Double-click the MS-DOS Prompt icon (usually located in the Main
group.)
- 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.
- From the File menu, choose Merge Registration File.
- Switch to the MSWORKS directory and double-click MSWORKS3.REG.
- Close the Registration Info Editor and save the changes.
- If Works was not installed into the default path of C:\MSWORKS,
complete the following steps:
- 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.
- From the Find menu, choose Replace.
- Replace all instances of C:\MSWORKS\MSWORKS.EXE with
<path>\MSWORKS.EXE, where <path> represents the drive letter and
directory where Works was installed.
- Save the file, making sure to specify TEXT as the format.
- Complete steps a-c in step 4 above.
- Switch to the directory in which Works was installed and double-
click MSWORKS3.REG.
- Close the Registration Info Editor and save the changes.
- Remove and reinstall the OLE files Works installs in the Windows SYSTEM directory:
- 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
- Run the Microsoft Works Setup and choose the Remove All option.
- Run the Works Setup again, this time from the original disks, and
choose the Complete Installation option.