This article has been archived. It is offered "as is" and will no longer be updated.
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
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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.