1 Attachment(s)
Error while loading the VSTA editor-addin
Hi,
I've recently installed Zenon 6.51 Editor+Runtime on a Win7 PC.
However, i get the error that the VSTA editor-addin caused the editor to crash (see attached)
The Win7 PC has VS2008SP1 installed. I assume this somehow caused the issue?
Anyone else encountered this before? Any solution?
Please advise,
thanks and regards,
justin
1 Attachment(s)
Re: Error while loading the VSTA editor-addin
Hi,
did you change anything in your VSTA workspace/editor addin?
If some incorrect code is written in the "MyWorkspace_Startup" or in the "ThisProject_Startup" the corrupt code can throw an execption and the VSTA-Template will not be started.
So if something was changed in the code, you can select "Do not load VSTA editor-addin" and then you can correct the invalid code.
After that, in the zenon6.ini ensure you have the following entry set:
[VSTA]
ON=1
CSHARP=1 (Depending on the programming language you want to use)
LOADED=1
After doing this, restart the editor.
If you did not change anything you can simply rename the VSTA Workspace Addin (it will be recreated after the first start of the zenon Editor).
To do so, close the zenon editor and rename the folder CSHARP (or VBNET), depending on the zenon6.ini setting (CSHARP=1 for C#, CSHARP=0 for VB.NET) in C:\Documents and Settings\All Users\Application Data\COPA-DATA\zenon651\VSTAWorkspace, e.g. like this:
Attachment 621
Then in the zenon6.ini ensure you have the following entry set:
[VSTA]
ON=1
CSHARP=1 (Depending on the programming language you want to use)
LOADED=1
After doing this, restart the editor.
Regards,
Bernhard