Solution
The problem this error describes, occurs when connecting to a reader endpoint that is orphaned and in a bad state.
This could happen if any of the following situations occured:
- A writer and a reader are created and linked.
- The writer is destroyed, leaving the reader orphaned.
- A new writer is created and attempts to connect to the existing reader. This will return error -314350.
- The above mentioned NI services are not or partially running.
To avoid issues while using network streams, be sure to follow these considerations:
- Ensure the the following NI servics are running on your host:
- Make sure that firewalls and antivirus are turned off or configured to allow NI hardware and software exceptions.
- There are also some recommendations for firewall settings specific to network streams.
- Make sure the endpoints for the network streams are specified correctly.
- If there are any Group Policy Objects configured, turn them off to test the network streams.
- Make sure the NI Installer is not running or installing anything else at that time. If it is running in the background, or if the installation was paused, cancel the installation or let it finish and then reboot the computer.