Article ID: 187146 - Last Review: November 1, 2006 - Revision: 1.3 DCOM Clients Cannot Create ObjectsThis article was previously published under Q187146 SYMPTOMS
Distributed Component Object Model (DCOM) client programs that run inside
Terminal Server sessions other than the console cannot create objects of
classes implemented inside DCOM servers running as Terminal Server
services.
You may also receive occurrences of event ID 10010 from DCOM in the Event Viewer with the following description:
The server <clsid> did not register with DCOM within the required timeout.
-or-
You may also receive the following error message:
CoGetClassObject failed - Server Execution failed
CO_E_SERVER_EXEC_FAILURE 0x80080005
CAUSE
This behavior is because those object classes are considered as user
globals by DCOM and Terminal Server.
However, DCOM and Terminal Server provide the ability to register DCOM classes as system globals. But, in the case of classes implemented in services, they should be considered as system globals, unless they had been explicitly registered as user globals. RESOLUTIONImportant This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756
(http://support.microsoft.com/kb/322756/
)
How to back up and restore the registry in Windows To explicitly register a DCOM class as a system global, use the following steps:
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
To reproduce this, use the DCOM sample named "ATLDRAW" provided with the
ActiveX Template Library (ATL).
| Article Translations
|
Back to the top
