Troubleshooting Wonderware Application Server Bootstrap Communications
Troubleshooting Wonderware Application Server Bootstrap Communications
Article # 000022811
Published On 2/15/2023
Summary
This article outlines general troubleshooting steps to address communication issues between a remote node and an Wonderware Application
Server Galaxy.
Situation
Warning:
After Application Server is installed, the OsConfigurationUtility is called, which sets the global DCOM setting on the machine. When the utility
was introduced, Microsoft used just one bit to enable COM permissions for account (Old style ACLs).
Running the OsConfigurationUtility in prior versions (WSP 2017 / WSP 2014 R2) uses the old style ACL.
Microsoft has introduced more granular permissions that use multiple bits (New style ACLs).
Run DcomCnfg and change Launch and Activation Permission (at global level or for a single component) for one user account like
Everyone and save the changes:
The Everyone account will use the new style ACLs. The other user accounts that were configured programmatically are still configured with the "old
style" ACL.
At runtime, when a client application tries to CoCreate the server, the call fails because of this old/new style mismatch. The message is:
In the configuration editor all settings will look just fine and it is not clear which one is configured with old- or new style permission.
On versions prior to WSP 2017, if you suspect incorrect DCOM settings, follow these recommendations:
If the issue is not resolved, delete all usernames from the list below. Add them again with appropriate permissions. This will guarantee there is no
old style / new style mismatch Application Versions
Wonderware Application Server 3.5 (2012). Please check the compatability matrix at the AVEVA Knowledge & Support site for supported
operating systems.
This Tech Note uses Windows Server 2008 for the examples.
Use the following Wonderware Configuration tools when troubleshooting the application.
Ensure that the ArchestrA Network Admin Account is the same on all machines in the Galaxy (or wish to interact with nodes in the
Galaxy).
1. Launch the Change Network Account utility from Start/All Programs/Wonderware/Common/Change Network Account.
2. Ensure that the local machine name does not have any unusual characters such as a tilde ( ~ ) or underscore. These characters can cause
Use the OS Configuration Utility to add TCP/UDP ports and application authorization to the Windows Firewall exclusion list, in order to allow
Wonderware products to operate as designed on Windows XP SP2 , Windows 2003 SP1 or greater, Windows Vista, Windows 2008, and
Windows 7.
The OS Configuration utility is delivered with ASP 3.5 (2012) and all later versions of System Platform.
Note: The OS Configuration utility is no longer available as a separate download.
Ensure that the version of Wonderware Application Server installed on the remote node is the same as the version of the Wonderware Application Server
Galaxy.
1. Verify the version by going to Control Panel / Programs / Programs and Features. Verify the Wonderware Application Server 2012
version on the Galaxy Repository (GR) Node and on the remote nodes.
Note: If the Version column is not visible, right click on a column name then click More. You can then see the Version column.
Figure 2 (above) shows Wonderware Application Server 2012 -- 3.5 Patch 01.
Port 135
Port 139
Port 445
Ports 1024 to 65535
1. In the General tab panel, make sure the Authentication Level is None (Figure 4 below).
Note: On x64 operating systems this option may be grayed out/disabled. The workaround is to use the 32-bit version of DCOMCNFG by
using the following command line: C:\WINDOWS\SysWOW64>mmc comexp.msc /32.
Under each Security grouping, ensure that the security settings are set similar to those shown in the following graphics. These are the
minimum settings needed.
The This user option shown below should be the ArchestrA Network Admin account defined using the Wonderware Change Network
Account Utility.
The Endpoints tab panel should look similar to the following graphic (Figure 11 below).
4. Click OK.
5. Ensure that all the same settings used for WWPim are applied for the DCOMTransport.
6. From the Component Services window, right-click My Computer then click Properties.
7. Ensure the Enable Distributed COM on this computer option is checked (Figure 13 below).
Note: These settings may be overridden by an enforced Group Policy Object from an MS Active Directory setup if the machine is part of a domain.
Figure 15: Network Access: Sharing and security model for local accounts
4. Ensure that the selected option is Classic and not Guest only.
7. Ensure that the ArchestrA Network Admin account is listed here. In Figure 18 (below), it is wwuser.
8. Similarly check if the ArchestrA Network Admin Account is added in the following policies:
Log on as a batch job
Deny log on locally
Deny log on through Remote Desktop Services
Act as part of the operating system. (While it is not generally required, in some specific cases adding the ArchestrA Network admin
account to this policy may resolve communication issues. Click the following link for information on Act as part of the operating system
property.)
9. Double-click Deny logon as a service.
10. Ensure that the ArchestrA Network Admin account (referenced above) is not listed here (Figure 20 below).
Note: The user logged on to the desktop of the remote machine that is trying to launch an IDE for remote GR access must be an Administrator of
the remote machine. Administrator permissions are necessary to allow proper DCOM and similar communication.
Make sure the following folders are shared on the local machine and that the ArchestrA Network Admin account has permissions to read and write
to the folders.
aaFileRepository
aaSF$
ArchestrA Galaxy Data
Note: If the Tools menu is not visible, press F10 to see the menu.
Ensure that the regional settings of the remote and GR nodes are set to English (United States).
Verify the settings using the Regional and Language Options dialogue box from the Control Panel/Clock, Language, and
Region/Region and Language.