Author Topic: Failed to initialize VBScript Engine @ EA V16 RC 1603  (Read 3520 times)

blaisephilip

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Failed to initialize VBScript Engine @ EA V16 RC 1603
« on: March 12, 2022, 12:43:16 am »
Hello everyone,
the current beta EA V16 Build 1603 throws the following error when debugging of scripts is attempted:

[24297919]      Stack recording threshold set to 3 frames
[24297989]      Default Directory is C:\Program Files\Sparx Systems\EA
[24297989]      Agent dll found: C:\Program Files\Sparx Systems\EA\SScript.dll
[24297989]      Default Directory is C:\Program Files\Sparx Systems\EA
[24297990]      Agent: Started
[24298036]      Microsoft Process Debug Manager creation Failed: 0x80040154
[24298036]      This is included as part of various Microsoft products.
[24298036]      Download the Microsoft Script Debugger to install it.
[24298036]      Failed to initialize VBScript engine
[24298037]      Debug Session Ended

Background might be the same as a couple of years before:
https://sparxsystems.com/forums/smf/index.php/topic,11131.msg149386.html#msg149386

Still, it would be good to provide an official backup resource from where the Microsoft Script Debugger can be installed on the website of Sparx Systems, or in a more optimal way, just include it to the deployed files of the EA installer, if the licensing of the component allows it.

Please note that this is quite an important feature and attempting post-install steps on the side of end-users shall not be seen as mature deployment solution.
Any response with a working official resource would be appreciated. Notes about package references found on the web are not valid anymore for Visual Studio 2019 Professional 16.11.11.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12914
  • Karma: +537/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Failed to initialize VBScript Engine @ EA V16 RC 1603
« Reply #1 on: March 12, 2022, 03:49:50 am »
I only have my copy of the VBScript debugger on my google drive.

I can give you the link if you want.

I think the only "official" resource is when it comes packaged with some version of Visual Studio.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8005
  • Karma: +115/-20
    • View Profile
Re: Failed to initialize VBScript Engine @ EA V16 RC 1603
« Reply #2 on: March 15, 2022, 08:32:15 am »
I'm not even sure that there is an official way to get it any longer. We concluded that the license agreement with that product did not allow us to distribute it ourselves.

The response from Sparx is to encourage Javascript as the scripting language of choice.

blaisephilip

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: Failed to initialize VBScript Engine @ EA V16 RC 1603
« Reply #3 on: March 15, 2022, 06:59:04 pm »
Dear Geert, Eve,
thank you for your responses. We will regulate in our organization to use Javascript in the future.

steen.jensen

  • EA User
  • **
  • Posts: 178
  • Karma: +8/-1
    • View Profile
Re: Failed to initialize VBScript Engine @ EA V16 RC 1603
« Reply #4 on: March 19, 2022, 02:41:09 am »
Halloy, Does that mean that Sparx EA v16 cant run old VB-script at all??

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 12914
  • Karma: +537/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Failed to initialize VBScript Engine @ EA V16 RC 1603
« Reply #5 on: March 19, 2022, 09:10:19 am »
Halloy, Does that mean that Sparx EA v16 cant run old VB-script at all??
No, running is not a problem at all.
If you want to debug you need the Microsoft script debugger tool, but that hasn't changed in v16. This has always been the case.

Geert