XL7: MS Query Doesn't Work After Installing Visual Basic 5.0Last reviewed: June 27, 1997Article ID: Q170680 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel 7.0, if you click either Get External Data or "Refresh Data on the Data menu," you may receive the following error messages:
Error Starting Program A required .DLL file, MSO97RT.DLL, was not found. -and- Microsoft Excel Cannot execute MSQRY32.EXE. -and- Microsoft Excel Couldn't restore connection to original database. Data not restored. CAUSEYou receive these error messages if you install Microsoft Visual Basic 5.0, Enterprise Edition, and Microsoft Excel 7.0 on the same computer. Specifically, the problem occurs because Microsoft Visual Basic 5.0, Enterprise Edition, includes new versions of the following Microsoft Query files:
Msqry32.exe Qryint32.dllThese new files are not compatible with Microsoft Excel 7.0. Note that the problem does not occur if you install Microsoft Visual Basic 5.0, Professional Edition. Note also that the order in which you install the programs does not matter.
WORKAROUNDTo work around this problem, remove the new copies of Msqry32.exe and Qryint32.dll, and then replace them with the Msqry32.exe and Qryint32.dll files included with Microsoft Excel 7.0. To do this, use either of the following methods.
Method 1Copy the Msqry32.exe and Qryint32.dll files from a computer on which Microsoft Excel 7.0 is installed to the following folder on your computer:
C:\Program Files\Common Files\Microsoft Shared\MsqueryReplacing the newer versions of the files with the earlier versions should eliminate the problem.
Method 2To use this method, follow these steps:
NOTE: If you do not rename the existing copies of the files first (see steps 1 and 2), this process does not work.
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 INFORMATIONIn Microsoft Excel 7.0, when you click Get External Data or Refresh Data on the Data menu, Microsoft Excel invokes an instance of Microsoft Query, which performs the process of querying and updating the data. Because the Microsoft Query files included with Microsoft Visual Basic 5.0, Enterprise Edition, are incompatible with Microsoft Excel 7.0, you may not be able to perform new queries (Get External Data) or update existing queries (Refresh Data) if you install both programs on the same computer.
|
Additional query words: XL7 7.00a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |