Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  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 log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
The Memory-Optimization Hoax

Don't believe the hype. At best, RAM optimizers have no effect. At worst, they seriously degrade performance. ...

Command Prompt Tricks

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

WinInfo Short Takes: Week of November 24, 2008

An often irreverent look at some of the week's other news, including a Vista Capable dismissal request, Zune price reductions, Morrow musings, Novell and Microsoft sitting in a tree ... two years later, Yahoo!, IE 6 on Windows Mobile, and so much more ...


Related Articles Stop DCOM Error 10021 in 7 Simple Steps

Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events 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 Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


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 Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing