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:
- Close Engineering Studio.
- Open Windows registry editor (Win+R > regedit).
- Following keys must be adapted:
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\
- Furthermore those templates must be re-initialized.
- Open command prompt as Administrator.
- Navigate to following path:
- 64bit-OS: "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE"
- 32bit-OS: "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE"
- Execute following command: "vsta /hostID zenOn /setup" and wait some seconds until the process vsta.exe disappears from the Windows Task-Manager.
- 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).