FIX: SQLOLEDB stops responding when the sqlxmlx.dll file unloads unexpectedly (838976)



The information in this article applies to:

  • Microsoft Data Access Components 2.8

SYMPTOMS

When the Microsoft SQL OLE DB Provider (SQLOLEDB) tries to access the sqlxmlx.dll file, and the sqlxmlx.dll file unloads unexpectedly, an access violation occurs, and the SQLOLEDB provider stops responding.

When this problem occurs, the following events are logged:

Event 1
Event Type: Error
Event Source: Application Error
Event Category: (100)
Event ID: 1000
Date: 6/20/2005
Time: 8:09:06 AM
User: N/A
Computer: ServerName
Description:
Faulting application dllhost.exe, version 5.2.3790.0, faulting module sqloledb.dll, version 2000.85.1022.0, fault address 0x0004503f.
For more information, see Help and Support Center at http://support.microsoft.com.
Data: 0000: 41 70 70 6c 69 63 61 74 Applicat 0008: 69 6f 6e 20 46 61 69 6c ion Fail 0010: 75 72 65 20 20 64 6c 6c ure dll 0018: 68 6f 73 74 2e 65 78 65 host.exe 0020: 20 35 2e 32 2e 33 37 39 5.2.379 0028: 30 2e 30 20 69 6e 20 73 0.0 in s 0030: 71 6c 6f 6c 65 64 62 2e qloledb. 0038: 64 6c 6c 20 32 30 30 30 dll 2000 0040: 2e 38 35 2e 31 30 32 32 .85.1022 0048: 2e 30 20 61 74 20 6f 66 .0 at of 0050: 66 73 65 74 20 30 30 30 fset 000 0058: 34 35 30 33 66 4503fEvent 2
Event Type: Error
Event Source: COM+
Event Category: Unknown
Event ID: 4786
Date: 6/20/2005
Time: 8:09:06 AM
User: N/A
Computer: ServerName
Description:
The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below.
Component Prog ID:
Server Application ID: {00000000-0000-0000-0000-0000000000000}
Server Application Instance ID: {00000000-0000-0000-0000-000000000000}
Server Application Name: Application Name
The serious nature of this error has caused the process to terminate.
Exception: C0000005
Address: 0x0185503F
Call Stack:
sqloledb!DllMain + 0x255df
sqloledb!DllMain + 0x1c358
sqloledb!DllMain + 0xc1d6
msado15!DllCanUnloadNow + 0x6ab5
msado15!DllGetClassObject + 0x2f28

CAUSE

SQLOLEDB tries to access a global object in the sqlxmlx.dll file. However, the global object is already released, and this behavior causes the access violation.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone 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 usual 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 hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time    Version     	 Size     File name     
   ----------------------------------------------------------------
   17-Mar-2004  05:27  2000.85.1038.0     24,576  Odbcbcp.dll      

   17-Mar-2004  05:26  2000.85.1038.0    401,408  Sqlsrv32.dll     

   17-Mar-2004  05:15  2000.85.1038.0    208,896  Sqlxmlx.dll
                                             
Note For a list of all the hotfixes available for MDAC 2.8, click the following article number to view the article in the Microsoft Knowledge Base:

839801 FIX: Hotfixes are available for MDAC 2.8

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

REFERENCES

For more information about the SQLOLEDB provider, visit the following Microsoft Developer Network (MSDN) Web site:

Modification Type:MajorLast Reviewed:9/20/2006
Keywords:kbProvider kbfix kbBug kbHotfixServer kbQFE KB838976 kbAudDeveloper