XL5: Incorrect Reg.dat Entries After Automatic RegistrationLast reviewed: March 28, 1997Article ID: Q117849 |
The information in this article applies to:
SYMPTOMSIf you rename the Microsoft Excel program file, Excel.exe, to a different file name, or if you rename the Reg.dat file, or if you move the Microsoft Excel program files to a different drive or directory, the Reg.dat file contains incorrect entries. The behavior of Microsoft Excel should not be affected by these incorrect entries; however, the behavior of a Microsoft Excel object in another program may be affected. The specific effect that these incorrect entries have on the behavior of a Microsoft Excel object in another program is unknown. The following are symptoms you may encounter:
CAUSEWhen you install Microsoft Excel, the program is registered correctly in the Reg.dat file. If you merge the Excel5.reg file into the Reg.dat file, the program is registered correctly in the Reg.dat file. The incorrect entries are written to the Reg.dat file only if Microsoft Excel must automatically register itself in the Reg.dat file. This occurs when Microsoft Excel is not already registered in the Reg.dat file. Automatic registration occurs only when you run Microsoft Excel and one of the following conditions is true:
WORKAROUNDTo register Microsoft Excel again in the Reg.dat file after any of the above conditions is true, run the Microsoft Excel Setup program and either click Reinstall All (to repeat the previous installation) or click Remove/Add to remove Microsoft Excel, and then run Setup to reinstall it.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONThe entries in Reg.dat that are listed in this section are incorrect when the registration information for Microsoft Excel is automatically generated. NOTE: These entries are shown as they appear when you run Regedit.exe using the verbose switch (/v). The complete path for each entry is the following:
HKEY_CLASSES_ROOT\CLSID\{00020810-0000-0000-C000-000000000046} DataformatsThe incorrect entries are as follows:
- DataFormats - DefaultFile = Biff5 - GetSet - 1 = 1,1,1 - 2 = 1,16,1 - 3 = 1,32,1The correct entries should have four parameters, for example, as in the following:
- DataFormats - DefaultFile = Biff5 - GetSet - 2 = 1,1,1,1 - 1 = 2,1,16,1 - 0 = 3,1,32,1The first parameter (missing in the automatically registered entries) is a Clipboard format identifier.
ConversionThe incorrect entries appear as follows:
- Conversion - Readwritable - Main=Biff5 - Readable - Main=Biff5,ExcelWorksheetThe correct entries should not have the readwritable entry, for example, as in the following:
- Conversion - Readable - Main=Biff5,ExcelWorksheetThe readwritable entry should list only foreign formats that can be edited in place in Microsoft Excel.
MiscStatusThe incorrect MiscStatus entries for Microsoft Excel (for ExcelWorksheet and ExcelChart) are as follows:
- MiscStatusThe correct entries should be set to zero, for example, as in the following:
- MiscStatus = 0 (for ExcelWorksheet) - MiscStatus = 1 (for ExcelChart) |
Additional query words: crash ole linking embedding
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |