Checklist: VSTA IDE: "Error: Unable to create macro projects. Is the correct project template installed?"

Checklist: VSTA IDE: "Error: Unable to create macro projects. Is the correct project template installed?"

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.

For yet unknown reason the path for the VSTA templates (which are used on creating a new VSTA Project AddIn) can get lost. To correct this (instead of re-installing zenon Engineering Studio) please follow the below instructions:
  1. Close Engineering Studio.
  2. Open Windows registry editor (Win+R > regedit).
  3. Following keys must be adapted:
  4. On 64bit-OS:
    HKLM\SOFTWARE\Wow6432Node\Microsoft\VSTAHost\zenOn\9.0\VSTemplate\Project
    On 32bit-OS:
    HKLM\SOFTWARE\Microsoft\VSTAHost\zenOn\9.0\VSTemplate\Project

    Key: UserFolder
    Data: C:\ProgramData\COPA-DATA\System\VSTATemplates\

    On 64bit-OS:
    HKLM\SOFTWARE\Wow6432Node\Microsoft\VSTAHostConfig\zenOn\2.0
    On 32bit-OS:
    HKLM\SOFTWARE\Microsoft\VSTAHostConfig\zenOn\2.0

    Key: ProjectTemplatesLocation
    Data: C:\ProgramData\COPA-DATA\System\VSTATemplates\
  5. Furthermore those templates must be re-initialized.
    1. Open command prompt as Administrator.
    2. Navigate to following path:
      1. 64bit-OS: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE"
      2. 32bit-OS: "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE"
    3. Execute following command: "vsta /hostID zenOn /setup" and  wait some seconds until the process vsta.exe disappears from the Windows Task-Manager.
    4. Start Engineering Studio.
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).



    • Related Articles

    • 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. Following entries must be set in ...
    • Checklist: VSTA Debugging does not work (breakpoint cannot be reached)

      Time estimate: 10 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. Check the Debug settings in the ...
    • Checklist: Workspace/Project cannot be created, loaded or backed up

      Time estimate: 30 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. Checklist usage: #. [Quick hints] ...
    • FAQ: Error while loading VSTA editor-addIn in Engineering Studio.

      It may happen that the VSTA editor shows an error message when starting: "Error while loading the VSTA editor-addin, the VSTA editor-addin caused the crash of the Engineering Studio. There might be some errors!'' In some cases the VSTA editor still ...
    • Checklist: VBA code compilation error

      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. Error still occurs after ...