Skip to main content
Version: 2.8

Trouble Shooting

TNC640 Connectivity Problems

  1. Make sure all ports are open (see NCK based Controls).

  2. Open the Event Viewer on windows and check the error events under Windows Logs-Application.

Connectivity errors are often the cause of other problems such as:

2024-02-11 11:12:33.658 [ERR] HeidenhainControl [TNC640 SimulatorServer]: System.Runtime.InteropServices.COMException!
HResult: 0x80040201
DNC_E_FAIL
Error while connecting to 'TncSimDev'. An event was unable to invoke any of the subscribers (0x80040201)

or

2024-02-11 11:12:35.960 [ERR] HeidenhainControl [TNC640 SimulatorServer]: System.Runtime.InteropServices.COMException!
HResult: 0x80040261
DNC_E_OPTION_NOT_AVAILABLE
Failed to get Interface 'DNC_INTERFACE_JHVIRTUALMACHINE'.