SWTB_Banner_Left_LogoOnly

Windows XP SP2 DCOM Setup
DCOM Limits Setup

clearpixel

SWTB_6Button_BlueLine

Windows XP Service Pack 2 (SP2) Support Advisory Center

DkTanLine_600x2

DkTanLine_500x2_YellowBack

DCOM for XP SP2 Setup Tutorial - Step 2
Limits in DCOM Security within DCOM Config

This setup step is only required on the computer where your OPC server is running.

The second step requires you to go to the Windows Start button and click Run.

Open the Component Services tree as shown below.

Right Click on My Computer Icon and choose properties

The dialog above will open. Click on the COM Security tab to configure the default DCOM settings for this PC

The new components with XP SP2 are the two Edit limit buttons shown above.

The critical action here is to add Anonymous Logon for both Access and Launch Permissions or opcenum.exe will not work and your OPC client will not be able to browse for remote OPC servers on the affected machine. 

The reason for this is that OPCEnum.exe (which is an OPC Foundation supplied application), is written to initialize security to allow Anonymous connections - it does not look for specific users. 

Both Access and Launch Permissions must be set to allow everything. Subsets of Everyone can be used but must not be more restrictive than the settings set found under the Edit Default buttons for both Access and Launch Permissions or they will override them.

    Note: If you have, or are using a web-based OPC client hosted on a webserver for example, then you should add the user-account that your webserver/web-application uses. The default account that IIS uses is:

    IUSR_<your computer name>

Click Edit Limits under both Access and Launch Permissions then add the users as shown below. You may also have additional users included based on your user specific application requirements.

Notes:

  • Also make sure that the advanced user and group settings have the right usernames and groups added to allow the Other PC's to connect

DkTanLine_500x2_YellowBack

Disclaimer:

The information contained in these pages is based on our testing with the release candidate of XP Service Pack 2. Although this information is based on "best practices" as judged by the authors, Software Toolbox and the authors of this document assume no responsibility or direct, indirect, or consequential liability for its accuracy or suitability for a users particular application. The reader is responsible for proper application to their particular situation and for the decision to deploy Windows XP SP2 in their environment.

DkTanLine_600x2

 

 | Home | XPSP2_BestPractices | XPSP2_DCOMSetup | XPSP2_ProductStatus

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.

No Copying or Reposting Without Written Permission of Software Toolbox Inc.