Showing results 1 to 10 of 10

Thread: WEB client does not work with the included VBA

  1. #1
    Join Date
    13.09.2010
    Posts
    3

    Default WEB client does not work with the included VBA

    Оperating system - Windows 7 64-bit SP1,
    WEB client for Zenon 7 SP0 Build 0.
    Internet Explorer 8,9
    Additionally installed VBA63a.
    Write to file zenon6.ini:
    [VBA]
    EIN=1
    EVENT=1

    The WEB client does not start:
    Click image for larger version

Name:	WEB_Error.jpg
Views:	64
Size:	238.8 KB
ID:	931

    After installing the zenon Editor, WEB client works fine. Please tell me which components to install.

  2. #2

    Default Re: WEB client does not work with the included VBA

    Hi metalurg,

    Welcome to the forum!

    The webclient setup installs all required components it needs for normal operation. There is no need to install the zenon editor.

    You already installed the VBA setup that needs to be installed when VBA is used in the webclient. This is the same VBA component that is used in the zenon editor setup.

    Did you try the webclient without VBA enabled prior to installing the zenon editor? If yes, did it work then?

    Did you follow the steps to disable DEP for internet explorer, and did you restart?

    Can this also be reproduced on another system?


    Best regards,
    Mark

  3. #3
    Join Date
    20.08.2009
    Posts
    293

    Default Re: WEB client does not work with the included VBA

    Hi,

    Quote Originally Posted by markclemens View Post
    Hi metalurg,
    Did you follow the steps to disable DEP for internet explorer, and did you restart?
    Internet Explorer 8 and later versions contains the Enable memory protection to help mitigate online attacks property. If this property is activated, a VBA macro can cause the zenon web client to crash. Deactivate this property so that VBA macros run correctly in the zenon web client.

    To do so in the Internet Explorer go to:
    Internet Options -> Advanced -> Disable the checkbox "Enable memory protection to mitigate online attacks".

    Regards,
    Bernhard

  4. #4
    Join Date
    13.09.2010
    Posts
    3

    Default Re: WEB client does not work with the included VBA

    Hi,

    Yes, we are disable DEP for internet explorer after installing the webclient. It did not help.

    Yes, we are try the webclient without VBA enabled prior to installing the zenon editor. Webclient starts without errors. But did not work VBA macros.

    Originally Posted by markclemens
    Can this also be reproduced on another system?
    Did you mean to another operating system?

    Best regards,
    Sergey

  5. #5

    Default Re: WEB client does not work with the included VBA

    Hi Sergey,

    Thanks for the feedback. With "other system" I meant that this issue may be specific to this PC. Do you have the opportunity to test on another PC, where the zenon editor is not yet installed?

    When DEP (memory protection) is disabled, in the webclient has been tested to work OK with VBA enabled in this configuration, without the need to install the zenon editor.

    Best regards,
    Mark

  6. #6
    Join Date
    13.09.2010
    Posts
    3

    Default Re: WEB client does not work with the included VBA

    Hi,

    The problem was solved in the following way:
    1) Installed webclient
    2) Installed "Visual Studio Tools for Applications" from the installation DVD (Additional Software)
    3) Installed "VBA 6.3a" from the installation DVD (Additional Software)
    Webclient with VBA enabled works fine.

    Best regards,
    Sergey

  7. #7

    Default Re: WEB client does not work with the included VBA

    Hi Sergey,

    Thanks for the feedback! I'm glad that you could get it to work.

    If you only use VBA in your project, you may not need to install VSTA, when you turn off VSTA in the zenon6.ini file:

    [VSTA]
    ON=0

    Best regards,
    Mark

  8. #8

    Default AW: WEB client does not work with the included VBA

    Thanks Sergy,

    i have the same problem like u. Will test now ur solution.

    so long....
    Zenon 8.00

    Zenon Server Windows R2016

    Clients WebClientStarter / Windows 10 Enterprise

    ZenonWebserver 8.00



    --trust me i'm an engineer--

  9. #9

    Default AW: WEB client does not work with the included VBA

    Works fine....thx a lot
    Zenon 8.00

    Zenon Server Windows R2016

    Clients WebClientStarter / Windows 10 Enterprise

    ZenonWebserver 8.00



    --trust me i'm an engineer--

  10. #10

    Default Re: WEB client does not work with the included VBA

    Quote Originally Posted by markclemens View Post
    If you only use VBA in your project, you may not need to install VSTA, when you turn off VSTA in the zenon6.ini file:

    [VSTA]
    ON=0
    With the zenon 7.00 webclient, the setting [VSTA] ON=1 exists in the zenon6.ini by default, and [VBA] EIN=0 exists by default.

    The webclient will work OK also when VSTA is not installed. (of course VSTA macros will not be executed)

    When you want to use VBA, and disable the option "enable memory protection to mitigate online attacks" in internet explorer, the webclient will NOT work OK, when the settings [VBA] EIN=1 and [VSTA] ON=1 are used, and only the VBA 6.3 setup is installed.

    In this case Internet Explorer crashes on startup of the webclient, even if there is no VSTA used in the project.

    This can be solved in two ways:

    - set [VSTA] ON=0 in the zenon6.ini
    - install the VSTA setup in addition to the VBA setup from the setup DVD (trin_aide.msi)

Similar Threads

  1. Web client subprojects error
    By jurijcadez in forum Smart Server & Smart Client (former Webserver & Webclient)
    Replies: 5
    Last Post: 17th May 2012, 23:34
  2. Web client VBA
    By jurijcadez in forum VBA
    Replies: 3
    Last Post: 15th May 2012, 14:43
  3. Internet Explorer 8.0 for Web-Client ?
    By lephis in forum Smart Server & Smart Client (former Webserver & Webclient)
    Replies: 10
    Last Post: 3rd June 2011, 06:34
  4. How does Firefox work as a Web-Client Browser?
    By lephis in forum Smart Server & Smart Client (former Webserver & Webclient)
    Replies: 4
    Last Post: 24th June 2009, 20:07
  5. The web client does not open the zenon project...
    By shahrzad in forum Smart Server & Smart Client (former Webserver & Webclient)
    Replies: 10
    Last Post: 8th October 2008, 13:32

Posting Rules

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