Showing results 1 to 2 of 2

Thread: Error while loading the VSTA editor-addin

  1. #1
    Join Date
    27.08.2009
    Posts
    13

    Ausrufezeichen 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
    Attached Thumbnails Attached Thumbnails photo.JPG  

  2. #2
    Join Date
    20.08.2009
    Posts
    293

    Default 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:
    Click image for larger version

Name:	fldr.png
Views:	29
Size:	22.7 KB
ID:	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

Similar Threads

  1. Replies: 1
    Last Post: 28th April 2011, 23:37
  2. Dynamic Loading Of Picture
    By allmendinger in forum zenon Supervisor
    Replies: 2
    Last Post: 1st July 2009, 20:08
  3. Replies: 0
    Last Post: 7th August 2008, 11:57
  4. Replies: 0
    Last Post: 20th August 2007, 17:04

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •