Frequently Asked Questions – OPC Client

OPCSystems.NET OPC Server is not listed after installation

Please enable .NET Framework 3.5 in the operating system and then reinstall OAS.

https://docs.microsoft.com/en-us/dotnet/framework/install/dotnet-35-windows-10

How to run OPCSystems.NET OPC Server as a Windows Service

Step 1 – Unregister server.

Using the Windows Command Prompt running As Administrator go to the directory C:\Program Files\Open Automation Software\OAS\ and type DANSrv.exe /Unregserver.

Step 2 – Register to run as a Windows Service

Using the Windows Command Prompt running As Administrator go to the directory C:\Program Files\Open Automation Software\OAS\ and type DANSrv.exe /Service /AutoStart.

Step 3 – Verify OPC Server is Registered

Using the Service Control Manager the Windows Service OPCSystems.NET DA Server should be listed to run in Automatic Startup Type.  You can select to manually start the server or restart the operating system and the server will start automatically.

When browsing for Network Nodes in the OPCSystems.NET OPC Server from a 3rd party OPC Client how can I get an IP Address or specific Node Name to show up?
Modify the file NetworkNodes.txt in the directory C:\Program Files\Open Automation Software\OAS\ with Notepad or a text editor.
When browsing the OPCSystems.NET OPC Server from a 3rd party OPC Client for OPCSystems.NET Tags I only get the Value parameters. How can access the rest of the properties when browsing?
Modify the file DANSrv.exe.config in the directory C:\Program Files\Open Automation Software\OAS\ with Notepad or a text editor. Set the property ValueOnlyBrowsing to False.
<add key=""ValueOnlyBrowsing"" value=""False""/>
How can I change the WCF Port Number that communicates to OAS Services?
Note: WCF is now a legacy communication transport for OAS.  The default communications no longer uses WCF and is more secure and faster on port 58727.  You can modify both WCF and TCP ports under Configure-Options-Networking. To adjust the port for the OPCSystems.NET OPC Server modify the file DANSrv.exe.config in the directory C:\Program Files\Open Automation Software\OAS\ with Notepad or a text editor. Set the properties TCPPortNumber and WCFPortNumber to the desired TCP port number. The default is 58727.
<add key=""TCPPortNumber"" value=""58727""/>
<add key=""WCFPortNumber"" value=""58724""/>
View the following video on how to adjust WCF port number in the realtime service and all client applications:
How can I access a legacy OAS Service on a different node that is older than version 5.0.0.0?

Note: Remoting is a legacy format of communications and it is recommended to update to the latest version of OAS for the most secure transport.

For the OPCSystem.NET OPC Server modify the file DANSrv.exe.config in the directory C:\Program Files\Open Automation Software\OAS] with Notepad or a text editor.

Set the property EnableRemoting to True.

<add key=""EnableRemoting"" value=""True""/>

 

How can I set the UserName and Password the OPCSystems.NET OPC Server uses to communicate with the OAS Services when security is enabled on those services?
Modify the file DANSrv.exe.config in the directory C:\Program Files\Open Automation Software\OAS\ with Notepad or a text editor. Set the properties UserName and Password to the desired login authentication.
<add key=""UserName"" value=""""/>

<add key=""Password"" value=""""/>