Article ID: 193143 - Last Review: February 24, 2004 - Revision: 3.0 BUG: DCOM Client Hangs and Then Gives Error 429This article was previously published under Q193143 On This PageSYMPTOMS
When running an ActiveX EXE Server created through DCOM on a Windows NT or Windows 2000 machine, the client may hang for approximately 2 minutes and then generate a run-time error:
'429' - "ActiveX component can't create object".
CAUSE
This is caused by the ActiveX EXE Server trying to write to a registry key
that the User Account the DCOM Server is running under does not have
permissions for.
RESOLUTION
The workaround to this problem is to set the permissions to the given
registry key so that the User Account running the DCOM server has full
control or, at least, setting and querying rights.
IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe. WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk. Allowing Full Control on the Given Registry Key
Allowing Setting and Querying Rights on the Given Registry Key
Who Needs to Have Access Rights to This Key?The users you need to give access rights on the key mentioned above depend on your Identity setting in DCOMCNFG, as explained below:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
MORE INFORMATION
You may also note that the ActiveX EXE server process is launched and
running on the Windows NT or Windows 2000 system during this 2-minute timeout period. The CPU utilization for this process will most likely be close to 100 percent. At the end of the 2-minute period, the Server process will go away.
REFERENCES
For additional information, please see the following articles in the
Microsoft Knowledge Base:
177394
(http://support.microsoft.com/kb/177394/EN-US/
)
: HOWTO: Troubleshoot Run-Time Error '429' in DCOM Applications
176799 (http://support.microsoft.com/kb/176799/EN-US/ ) : INFO: Using DCOM Config (DCOMCNFG) on Windows NT 269330
(http://support.microsoft.com/kb/269330/EN-US/
)
HOWTO: Troubleshoot DCOM for Visual Basic Client/Server Applications
| Article Translations
|
Back to the top
