Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


July 2008

Use Dcomcnfg.exe to Stop DCOM 10000 and 10005 Errors

This built-in Windows utility lets you configure DCOM settings
RSS
Subscribe to Windows IT Pro | See More Distributed COM (DCOM) Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

In event logs, you can sometimes get errors that mention DCOM as a source. Usually, the event ID is 10000 or 10005 and the error message reads something like: The server <a class’s ID goes here> didn’t register with DCOM within the required timeout. As a result, you might experience problems starting or using an application or service on that computer. Usually, the problem is created by a corruption in DCOM’s class database.

A tool that might solve the problem is dcomcnfg.exe, a built-in Windows utility that lets you configure DCOM settings in the registry. One way you can access it is to select Run on the Start menu, type dcomcnfg, and click OK. You can also access it through Administrative Tools, Component Services.

In the Component Services window that appears, navigate to Component Services, Computers, My Computer, DCOM Config. Highlighting the DCOM Config folder fetches a list of all the DCOM objects on your machine. (You might experience a short delay during this time.) Besides fetching the objects, dcomcnfg.exe detects any missing registration. If the utility detects any, it will ask you whether you want to register that component with DCOM. Click Yes. You might be asked this question several times if the utility detects more than one unregistered component. Afterward, you’ll be able to see all the registered DCOM components.

You can then close dcomcnfg .exe and check to see whether the problem disappeared. Curiously, sometimes the problem gets fixed, but if you re-open dcom-cnfg.exe, you’re prompted again for registration.

Note that the dcom-cnfg.exe utility doesn’t solve all DCOM problems, but you have a good chance of solving a problem by spending no more than a few seconds to perform the procedure just described. Also note that after any change in DCOM, Microsoft recommends that you reboot your computer.

—Apostolos Fotakelis, systems administrator, NATO, and freelance IT consultant

End of Article



Reader Comments

You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Microsoft, News Corp. Discuss Locking Out Google

Microsoft and Rupert Murdoch's News Corp. recently discussed an alliance that would counter Google's fledgling online news service. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...


Related Articles Stop DCOM Error 10021 in 7 Simple Steps

Windows OSs Whitepapers Protecting Microsoft SharePoint

Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

7 Ways To Get More From Your SharePoint Deployment Now

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement