Get An unhandled exception occurred in the application when browsing objects from Vista's OPC server.

Issue

  • Get "An unhandled exception occurred in the application" when browsing objects from Vista's OPC server.
  • Vista OPC server (TACOPC.exe) crashes when browsing tags on an OPC client.
  • When checking with OPC tool, the server (TAC Object Server OPC DA) can be browsed but when opening folders the Vista OPC server crashes.

Product Line

TAC Vista

Environment

TAC Vista 5.1.X

Vista OPC server 1.6.X

OPC tool

3rd Party OPC client.

Cause

Incorrect characters such as '\" (backslash) have been used in either the folder names in Vista or the variable names.

Resolution

Rename the variables/folders avoiding special characters such as '\', '#', '/ ' etc.