Checklist: VSTA IDE cannot open in zenon

Checklist: VSTA IDE cannot open in zenon

Time estimate:  15 minutes

Please go through all the points in the following checklist. If necessary, confirm with IT Department any information you cannot verify before contacting your local COPA-DATA Representative.
  1. Following entries must be set in the zenon configuration file (path: %CD_SYSTEM%zenon6.ini): 
  2. [VBA][VSTA]
    EIN=1ON=1
    EVENT=1
    CSHARP=1

    LOADED=1
    (*) If you have set VBA EIN=0 the VSTA will not work.
    If the user writes a buggy-AddIn, which leads to a crash during Engineering Studio start, then this entry is set to "0". Afterwards with a restart of the Engineering Studio the addon is not loaded automatically. The user gets a dialog window with the an error message and the possibility to continue starting the Engineering Studio without loading the WorkspaceAddin. When choosing this option the user has the possibility to avoid a crash and to amend the AddIn.
  3. There is no incorrect code written in the "MyWorkspace_Startup" or in the "ThisProject_Startup". Note that bad code can throw a exception so that the VSTA-Template will not start.
  4. Microsoft Visual Studio Tools for Applications is installed.
    1. In Windows Control Panel: Add or Remove Programs, Microsoft Visual Studio Tools for Application 2.0 - ENU is listed.
    2. Tried to reinstall.
  5. VSTATemplates for CSharp and VisualBasic can be found in the zenon installation folder: "C:\ProgramData\COPA-DATA\System\VSTATemplates".
  6. The folder "C:\Program Files (x86)\COPA-DATA\[ZENON_VERSION]" contains the following files:
    1. VSTAReflectionsHelper.dll
    2. VSTAIntegration.dll
  7. The Pipeline Directory: "C:\Program Files (x86)\Common Files\Microsoft Shared\VSTA\Pipeline\AddInViews" contains the files:
    1. Microsoft.VisualStudio.Tool.Applications.Runtime.v9.0.dll.
    2. zenonVSTAProxy[VERSION].dll of all zenon versions supporting VSTA.
  8. Check if the zenonVSTAProxyXXX.dll is registered in the Global Assembly Catch (GAC).
If the problem persists after completing this checklist and followed corrective actions, please contact your local COPA-DATA Representative providing a SIC-Reduced Report from the target computer(s) and the result of this checklist – please include any additional information or comments related with the points addressed you find relevant.
System Information Collector is a standalone COPA-DATA application that collects relevant data about the Operating System and zenon Software Platform for troubleshooting purposes. SIC is installed with zenon and can be started from zenon Startup Tool (Tools).