Troubleshooting tips for setting up the Network Services
If you cannot connect to CNS through the Network Services:
- Try restarting your PC.
- Try logging in first with the default ‘adminserver’ user after any IP address or server changes.
- Make sure that the following three services are running when trying to use the Network Services.
- Cognex Network Server
- Cognex Network Server Management Service
- Open LDAP Directory Service
- If the problem persists after restarting, try re-installing CNS.
- Make sure that with the Cognex Network Server Manager, you have completed `Apply Server Identification’ to any missing IP addresses to add them to the server certificate.
- If you need to contact tech support, please include the recent logs (from the days where the incident occurred). These logs can be found on the Cognex Network Server host PC. Please include these files when contacting tech support:
-
CNSM service logs: These logs can be found at C:\ProgramData\Cognex\Cognex Network Server Management\logs and are date stamped to the day they were created.
-
CNS service logs: These logs need to be saved to a file using the Windows Event Viewer:
-
Open the Windows Event Viewer by searching for Event Viewer in the Windows Start Menu.
-
Once the Event Viewer is open, find the Cognex Network Service by expanding Applications and Services Logs (this process takes time to load).
-
Once expanded, select Cognex Network Service to load CNS service events to the Event Viewer's main window.
-
After Cognex Network Service events are loaded, click on Save All Events As... in the Actions panel located on the right side of the Event Viewer.
-
Save the file as a .evtx file and save it to a destination of your choosing.
-
If prompted for display information, select the Display Information than select the English (United States) radio button and click OK.
-
Include the saved file when reaching out to tech support.
-