SWTB_Banner_Left_LogoOnly

DCOM Tutorial
DCOMConfig Utility

clearpixel

HOME PRODUCT
DETAILS FREE
DEMO PRICING &
LICENSING RELATED
PRODUCTS SUPPORT ABOUT
US

SWTB_7Button_BlueLine

DCOM Tutorial - Intro to the DCOMCNFG.EXE Utility
DCOM Tutorial Home

What is DCOM Config (aka "DCOMCnfg")?

DCOM settings are stored in the Registry. "DCOMCNFG" is a native Windows utility that is hidden and accessible when running the command "dcomcnfg" (from Start > Run).

So where is the DCOM Config Utility on my computer?

Dcomcnfg is like many Microsoft tools... it exists, but only to those who know about it because it is hidden. It should be installed in your \Winnt\System32 directory on either NT or 2000 and the file is named DCOMCNFG.EXE. 

What does the DCOM Config Utility Look like?

Depending on your operating system will determine what the utility looks like. Pre Windows XP computers look like below...
DCOm Config Applications Tab

... whereas Windows XP and newer look like...

01 - component services

How should I use DCOM Config ?

There are 3 major things that you may need to set with DCOM Config

  1. OPC client PC settings (more info) to allow OPC Servers to communicate with OPC Clients.
  2. OPC server PC settings (more info) to allow OPC Clients to communicaet to OPC Server.
  3. On your OPC server machine (more info), setup OPCEnum to allow OPC Clients to query what OPC Servers are available.

Things to remember when using DCOM Config

  • When changing DCOM permissions, you need to restart OPC applications.
  • Sometimes Windows will CACHE DCOM settings; sometimes a Reboot is necessary.
  • Once you get your DCOM Config settings right, you should not have to change them again.
  • Document your settings carefully - make screenshots if you want and paste them into a Word document. Proper and organized documentation of how you have your machine setup can be a lifesaver if you have to reload a machine in an emergency (i.e. drive failure, hardware failure, etc).

DCOM Config Screenshots - provided as a reference for the above descriptions.

Default Properties Tab

Default Security Tab

Default Protocols Tab

Warning: contents of this tutorial are Copyright Software Toolbox, Inc. 2001-2002, and may not be reproduced in electronic or written form without written permission of Software Toolbox Inc. Anyone found copying copyrighted material from this site for use on another site will be prosecuted. You are welcome to link to this site from your site. The information in this article is accurate to the best of our professional judgement at the time of writing but is subject to change.

 

 | HOME | PRODUCT DETAILS | FREE DEMO | PRICING & LICENSING | RELATED PRODUCTS | SUPPORT | ABOUT US

P: 1-888-665-3678 (US-Sales) or 704-849-2773 (Support & International), F: 704-849-6388
148A East Charles Street, Matthews, North Carolina, USA 28105
Copyright Software Toolbox, Inc., 1996-2006, All Rights Reserved Worldwide.