Microsoft KB Archive/819989

= COM+ Services DLL Cannot Load Because Allocation of Thread Local Storage Fails =

Article ID: 819989

Article Last Modified on 11/8/2004

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Advanced Server
 * Microsoft COM+ 1.0

-





SYMPTOMS
Applications that cause the Comsvcs.dll module to load and to unload may cause the following message to appear in the event log:

The COM+ Services DLL (comsvcs.dll) was unable to load because allocation of thread local storage failed.

Process Name: MyApplication.exe Error Code = 0x80070008: Not enough storage is available to process this command.

COM+ Services Internals Information: File: .\Comsvcs.cpp, Line: 289



CAUSE
A thread local storage (TLS) leak in the DllMain function of Comsvcs.dll causes applications that repeatedly load and unload this module to leak TLS slots. This problem does not occur in typical Microsoft COM+ applications where Comsvcs.dll is loaded only one time in the process. But this problem can occur with applications that continuously load and unload the Comsvcs.dll module, such as applications that use the OLEDB provider without using any COM+ components.



How to Obtain the Hotfix
This issue is fixed in the Microsoft Windows 2000 Post-Service Pack 4 (SP4) COM+ 1.0 Hotfix Package 27. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

822618 INFO: Availability of Windows 2000 Post-Service Pack 4 COM+ Hotfix Rollup Package 27



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section of this article.

Additional query words: kbWin2000preSP5COMRollup27Fix

Keywords: kbbug kbfix kbqfe kbwin2000presp5fix KB819989

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.