Article ID: 234645 - Last Review: September 25, 2003 - Revision: 3.0 ODE97: Error While Configuring SQL Server Driver During Installation of ODE ApplicationThis article was previously published under Q234645 On This PageSYMPTOMS
When you install an application that you built with the Office 97 Developer Edition Setup Wizard that includes ODBC Support for SQL Server, you may receive the following error message:
The Setup routine for the SQL Server ODBC Driver could not be loaded due to system error code(1157). ODBC's SQL Config Driver Failed for Driver SQL Server. CAUSE
You ran the Setup wizard on a computer that has the Microsoft Data Access Components version 2.1 (MDAC 2.1) or later and the computer that you tried to install your application onto does not have MDAC 2.1 or later installed.
RESOLUTION
You can use one of the following three methods to work around this problem.
NOTE: After you have used one of the following solutions, you need to re-create your disk images and re-install your application to the target computers. To do this successfully, you need to rename or remove the newer versions of the files listed in step 1 of the "Solution 1" section that were copied to the computer during the previous failed installation before you try to reinstall your application. Solution 1Moderate: Requires basic macro, coding, and interoperability skills.NOTE: A file is available for download from the Microsoft Download Center (Mdtupdtr.exe) that automatically carries out the manual steps listed for this solution. For more information, please see the following article in the Microsoft Knowledge Base: 179567
(http://support.microsoft.com/kb/179567/EN-US/
)
SetupWizard Template Files Updater Available in Download Center
It is possible to change the version of ODBC Components that is included
in your disk images by changing the entries in one of the Setup Wizard tables. You can use this solution if you need the updated ODBC drivers on your development computer, but do not need to redistribute the updated ODBC drivers to the target computers.
WARNING: Because the following solution will modify the default tables in the Setup Wizard, you should back up the following table for reference. If you completed a default installation of the Microsoft Office 97 Developer Edition, move the following file to a different folder.
C:\Program Files\Microsoft Office\ODETools\Setup Wizard\Msaccomp\10ODBC Support With SQL Server.MDT
After you have made backups of this table, follow these steps:
Solution 2Novice: Requires knowledge of the user interface on single-user computers.Use the Setup Wizard to create disk images on a computer that matches the lowest common configuration for all of the anticipated target computers for your application. Some configurations that would suit this purpose:
Solution 3Moderate: Requires basic macro, coding, and interoperability skills.If you must redistribute the SQL Server 7.0 ODBC driver, use the Setup Wizard to create disk images and do not include ODBC Support for SQL Server with the Office Developer Edition Disk set. Include ODBC Support as a separate setup program using the Microsoft Data Access Components redistribution set available from the Microsoft Data Access Components Web site (http://www.microsoft.com/data) STATUSMicrosoft has confirmed that this is a problem in Microsoft Office 97 Developer Edition. MORE INFORMATION
When you include the ODBC Support with SQL Server component in an ODE application install, the Setup wizard includes the current ODBC files from the computer in the disk image that it creates. When MDAC 2.1 or later is installed on a computer, a newer version of the SQL Server driver (SQLSRV32.DLL), version 3.7x or later, is installed. The proper function of this version of SQLSVR32.DLL is dependent on a new file, SQLWOA.DLL, which is not included in disk images made by the Setup Wizard. Without SQLWOA.DLL, the Setup program can not register SQLSRV32.DLL and you receive the error described in the "Symptoms" section of this article.
REFERENCES
For more information about other issues involving the Office 97 Developer Edition and distributing applications, please see the following
articles in the Microsoft Knowledge Base:
179011
(http://support.microsoft.com/kb/179011/EN-US/
)
ODE: Running Microsoft ODE97 on a Computer with Internet Explorer 4.0
160870
(http://support.microsoft.com/kb/160870/EN-US/
)
ACC: VBA Functions Break in Databases with Missing References
162884
(http://support.microsoft.com/kb/162884/EN-US/
)
ODE97: Troubleshooting ODE Setup Wizard Problems
| Article Translations
|

Back to the top
