Wonderware OPCENUM error 0x80040153

Wonderware OPCENUM error 0x80040153

Note: the information below also exists as a PDF with screenshot images.

Background

If you install TopView OPC/SCADA on a Wonderware machine after installing the Wonderware OPC Server software, you may not be able to query to local OPC Servers (OPCENUM). The error returned is  0x80040153 This issue is known by Wonderware and can be caused by the installation of any OPC software, not just TopView. Here is some information from Wonderware on this issue:
  1. http://esupport.wonderware.ch/Data/ReadMeIAS35.html L00115135:          In the OPCClient object, the installed DAServers are not listed under the Server Name. For the OPCClient object, the following error message is shown in the SMC log: .Net Editor Info - 17:35:14.3125809 Failed to create instance of OPCEnum on server node COMPST01: 0x80040153 As a workaround, if you invert the installation sequence by installing the OPC Server first and then the Bootstrap, the OPCEnum is installed without anonymous logon and a remote connection to the OPC Server is possible. You can also resolve this issue by deleting and creating the anonymous logon on the OPCEnum permission.
  2. https://wonderwarepacwest.com/uploads/2014/01/ReadMe.html FS Gateway 3.0 SP1 Readme Information: Known issues L00115135:          After installing a third-party OPC server on top of an already installed DAServer, OPC clients may not be able to browse for OPC servers using OPCEnum, and the client receives error 0x80040153. As a workaround, install the DAServer last.

Workaround/Fix

The first item referenced above from Wonderware states “You can also resolve this issue by deleting and creating the anonymous logon on the OPCEnum permission”. This workaround does fix the issue. Here are the detailed steps for fixing the error by removing and adding Anonymous logon.

Remove/Add Anonymous Logon

On the Wonderware/TopView computer:
  • Run DCOMCNFG (Start…Run…DCOMCNFG)
  • Go to Component Services…Computers…My Computer… DCOM Config
  • Under “DCOM Config” find OPCENUM
  • Right-click OpcEnum and click Properties
    • Security Tab
      • Launch and access permissions: Customize should be selected
      • Click [Edit] next to Customize
      • Anonymous Logon is listed with all permissions checked
      • Click [Remove] to remove  Anonymous Logon
      • Click [Add]
      • Under “Enter the object names to select” enter Anonymous Logon and click [OK]
      • Re-enable the Anonymous Logon permissions for local and remote activation and launch
      • Click [OK] until all dialogs are closed
      • Close DCOMCNFG

Restart OPCENUM Service

  • Run the Windows Services app (Control Panel…Admin tools…Services)
  • Find OPCENUM in the list of Services
  • If the OPCENUM Service is stopped, right-click and choose “Start”
  • If the OPCENUM Service is running, right-click and choose “Restart”
You should now be able to query the local OPC Servers from TopView.
    • Related Articles

    • RSLinx OPC Server error "Class is not licensed for use"

      After upgrading to TopView version 7.x we are aware of an issue where The TopView Configurator is able to successfully connect to the local RSLinx OPC Server The TopView Engine fails to connect to the local RSLinx OPC Server with error "Class is not ...
    • ClearSCADA connection fails with: "Error: CheckConnectionToServer > error creating group : AddGroup failed with error"

      If you receive an error connecting to ClearSCADA with the following error message: ClearSCADA can be set up to use OPC private security and require credentials for permissions to connect to the server and retrieve tag values. To connect, provide the ...
    • Error reading setup initialization file

      Due to Windows permissions, you may see an error message after attempting to run the setup application saying: "Error reading setup initialization file". To install TopView, right click on the setup application and select "Run As Administrator". As ...
    • Error 1606 Could not access network location

      Background This Windows Installer error can occur during a TopView upgrade or uninstall if a location/device specified during a previous TopView installation is no longer accessible. How this can occur: The TopView DataPath entered during the most ...
    • Web server open error: "HTTP could not register URL"

      The TopView Application log may show the following error message: Web server open error: HTTP could not register URL http://+:7170/. Your process does not have access rights to this namespace. Background The TopView Mobile Web App communicates to ...