Solution
Below are solutions for different causes of this error:
Shared Variables are Not Deployed
- Manually deploy the shared variable library
- Right click the shared variable library in the LabVIEW project.
- Select Deploy.
- Programmatically deploy the shared variable library
Blocked Access from DCOM and/or Firewall
Port Conflict with the OPC Server
- Navigate to Start >> Run on the Windows taskbar. Enter services.msc.
- Search for the service that relates to your OPC server and note if it starts automatically.
- Select the service and select Stop.
- Test if your shared variables will deploy.
- Double click on the service and set the startup to Manual to prevent the service from starting automatically.
Using Dual Network Interface Cards
- Open the LabVIEW project file and right click on My Computer, then select Properties.
- Put a check on 'Specify custom address' and enter the secondary NIC address into the Address.
NI OPC Servers Software Is Not Licensed
Navigate to the NI License Manager and verify if the NI OPC Servers software is licensed. The NI OPC Servers is individually licensed and is not part of the LabVIEW Datalogging and Supervisory Control (DSC) Module. For more information about the available licenses, please refer to NI OPC Server Licensing.