Error message when you run a WMI process in Host Integration Server 2009, in Biztalk Server 2009, or in Biztalk Server 2006 R2: "Unable to load because allocation of thread local storage failed"

Applies To
Host Integration Server 2009 BizTalk Server 2009 Enterprise BizTalk Server 2009 Standard

Symptoms

When you run a Windows Management Instrumentation (WMI) process in Microsoft Host Integration Server 2009, in Microsoft Biztalk Server 2009, or in Biztalk Server 2006 R2, you may receive the following error message:

Note

Unable to load because allocation of thread local storage failed.

Not enough storage is available to process this command.

Additionally, an entry may be logged in the event log that resembles the following:

Event Type:     Error
Event Source:   COM+
Event Category: (98)
Event ID:       4791
Date:           <date>
Time:           <time>
User:           N/A
Computer:       <computer_name>
Description:
The COM+ Services DLL (comsvcs.dll) was unable to load because allocation of thread local storage failed. 
Process Name: wmiprvse.exe
Error Code = 0x80070008 : Not enough storage is available to process this command.
COM+ Services Internals Information:
File: d:\nt\com\complus\src\comsvcs\comsvcs\comsvcs.cpp, Line: 334
Comsvcs.dll file version: ENU 2001.12.4720.4045 shp 

      

Cause

This problem occurs because the SSOMapper method and the SSOConfigStore method call the TLSAlloc function without an associated TLSFree function.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:

http:⁠//support.microsoft.com/contactus/?ws=support Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

There are no prerequisites for installing this hotfix.

Restart information

You do not have to restart the computer after you apply this hotfix.

Replacement information

This hotfix does not replace a previously released hotfix.

File information

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 item in Control Panel.

For the x86-based version of Host Integration Server 2009

File name File version File size Date Time Platform
Importexport.dll 6.0.302.2 51,544 21-Oct-2010 16:13 x86
Infocache.dll 6.0.302.2 125,272 21-Oct-2010 16:13 x86
Ssoadmin.dll 6.0.302.2 90,960 21-Oct-2010 16:13 x86
Ssoadminserver.dll 6.0.302.2 117,088 21-Oct-2010 16:13 x86
Ssoclient.exe 6.0.302.2 54,616 21-Oct-2010 16:13 x86
Ssoconfig.exe 6.0.302.2 80,216 21-Oct-2010 16:13 x86
Ssoconfigom.dll 6.0.302.2 115,032 21-Oct-2010 16:13 x86
Ssoconfigstore.dll 6.0.302.2 77,664 21-Oct-2010 16:13 x86
Ssocsserver.dll 6.0.302.2 68,952 21-Oct-2010 16:13 x86
Ssocstx.dll 6.0.302.2 54,096 21-Oct-2010 16:13 x86
Ssolookup.dll 6.0.302.2 94,040 21-Oct-2010 16:13 x86
Ssolookupserver.dll 6.0.302.2 121,184 21-Oct-2010 16:13 x86
Ssomanage.exe 6.0.302.2 93,016 21-Oct-2010 16:13 x86
Ssomapper.dll 6.0.302.2 101,208 21-Oct-2010 16:13 x86
Ssomappingserver.dll 6.0.302.2 94,560 21-Oct-2010 16:13 x86
Ssops.exe 6.0.302.2 81,744 21-Oct-2010 16:13 x86
Ssopsadmin.dll 6.0.302.2 82,264 21-Oct-2010 16:13 x86
Ssopshelper.dll 6.0.302.2 85,848 21-Oct-2010 16:13 x86
Ssopsserver.dll 6.0.302.2 175,448 21-Oct-2010 16:13 x86
Ssoservercfg.dll 6.0.302.2 165,720 21-Oct-2010 16:13 x86
Ssoss.dll 6.0.302.2 104,784 21-Oct-2010 16:13 x86

For the x64-based version of Host Integration Server 2009

File name File version File size Date Time Platform
Importexport.dll 6.0.302.2 51,544 03-Nov-2010 13:12 x86
Importexport.dll 6.0.302.2 73,048 03-Nov-2010 13:12 x64
Infocache.dll 6.0.302.2 205,656 03-Nov-2010 13:12 x64
Ssoadmin.dll 6.0.302.2 122,192 03-Nov-2010 13:12 x64
Ssoadmin.dll 6.0.302.2 90,960 03-Nov-2010 13:12 x86
Ssoadminserver.dll 6.0.302.2 192,864 03-Nov-2010 13:12 x64
Ssoclient.exe 6.0.302.2 82,264 03-Nov-2010 13:12 x64
Ssoconfig.exe 6.0.302.2 131,416 03-Nov-2010 13:12 x64
Ssoconfigom.dll 6.0.302.2 115,032 03-Nov-2010 13:12 x86
Ssoconfigom.dll 6.0.302.2 169,816 03-Nov-2010 13:12 x64
Ssoconfigstore.dll 6.0.302.2 103,776 03-Nov-2010 13:12 x64
Ssoconfigstore.dll 6.0.302.2 77,664 03-Nov-2010 13:12 x86
Ssocsserver.dll 6.0.302.2 96,600 03-Nov-2010 13:12 x64
Ssocstx.dll 6.0.302.2 66,384 03-Nov-2010 13:12 x64
Ssolookup.dll 6.0.302.2 137,048 03-Nov-2010 13:12 x64
Ssolookup.dll 6.0.302.2 94,040 03-Nov-2010 13:12 x86
Ssolookupserver.dll 6.0.302.2 188,256 03-Nov-2010 13:12 x64
Ssomanage.exe 6.0.302.2 154,968 03-Nov-2010 13:12 x64
Ssomapper.dll 6.0.302.2 101,208 03-Nov-2010 13:12 x86
Ssomapper.dll 6.0.302.2 140,632 03-Nov-2010 13:12 x64
Ssomappingserver.dll 6.0.302.2 146,784 03-Nov-2010 13:12 x64
Ssops.exe 6.0.302.2 133,968 03-Nov-2010 13:12 x64
Ssopsadmin.dll 6.0.302.2 107,864 03-Nov-2010 13:12 x64
Ssopsadmin.dll 6.0.302.2 82,264 03-Nov-2010 13:12 x86
Ssopshelper.dll 6.0.302.2 113,496 03-Nov-2010 13:12 x64
Ssopshelper.dll 6.0.302.2 85,848 03-Nov-2010 13:12 x86
Ssopsserver.dll 6.0.302.2 292,184 03-Nov-2010 13:12 x64
Ssoservercfg.dll 6.0.302.2 165,720 03-Nov-2010 13:12 x86
Ssoss.dll 6.0.302.2 165,712 03-Nov-2010 13:12 x64

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 about the methods and functions mentioned in the "Cause" section, visit the following Microsoft Developer Network (MSDN) websites:

SSOMapper Methods
        
        SSOConfigStore Methods
        
        TlsFree Function
        
        TlsAlloc Function