This problem occurs with the 3.70.0690 build of the Microsoft SQL Server ODBC driver (Sqlsrv32.dll) but does not occur with earlier builds. Also, the problem does not occur when you use the native Microsoft SQL Server OLE DB Provider (Sqloledb.dll).
In the 3.70.0690 build of the Microsoft SQL Server ODBC driver, Winmm.dll is being unloaded prematurely, and the function pointers are not being zeroed out. Therefore, the function pointer appears to refer to a valid address but the location it points to in memory is no longer valid.
This access violation (AV) is being caught by the exception handling in the OLE DB Service Components, and an 0x08000FFFF "Catastrophic failure" message is then returned to the client.
To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:NOTE: In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name Platform
10/4/99 3.70.0737 25KB odbcbcp.dll
10/4/99 3.70.0737 505KB sqlsrv32.dll
- Revert back to an earlier build of the SQL Server ODBC driver, such as the 3.70.0623 build.
- Use the SQL Server native provider (Sqloledb.dll) instead.
This problem was corrected in MDAC 2.5.
- Close or stop any applications or services that are using the Sqlsrv32.dll file. This may include Internet Information Server (IIS), Microsoft Transaction Server (MTS), and any ActiveX Data Objects (ADO) or ODBC applications.
- Download the hotfix (CatastrophicFailure.exe) into a temporary directory and run it to extract the following files:Odbcbcp.dll Sqlsrv32.dll
- Locate and rename the current version of these files, which should be in the \Winnt\System32 folder for Windows NT computers, and in the \Windows\System folder for Windows 9x computers.
- Copy the hotfix version of the files into the same location, and restart your services and applications.
Article ID: 243349 - Last Review: Sep 22, 2009 - Revision: 1