Javascript runtime error - Unable to reverse engineer

Hi All,

I'm using TDM 7.3, I was able to reverse engineer existing tables earlier.

However today if I click reverse engineering-connections, I'm getting below error message. Could you please help me to fix this.

Database platform: MySQL 5.7

Thanks !
Regards,
Rajesh

I am having the same issue with a connection to SQL Server. I was able to run a RE with the trail license TOAD Data modeler 7.2 but now with 7.3 and a software license in place, I get an error:

Quest support team said that TDM 7.3 will works fine until Windows 11 22H2.

Please check your windows version by using command winver in command prompt. If yours is 24H2 we will see this "javascript runtime" error.

Thanks !
Rajesh

Really? I'm sorry, but I'm starting to hate this software - TDM owner changed several times and support is ... no comment...

what am I paying for?

14 days ago everything was fine, this week windows patched to 24H2 and TDM has problem after that...

and it is not about reverse engineering only: I have this error when I want to open some other saved model!

That's true, I faced all the problem that you described above. Also, we will not be able to generate DDL, HTML report if TDM is on 24H2.

I ended up having separate machine which is not on 24H2 to use TDM.

Regards,
Rajesh

Hi all, the issue is caused by the latest Windows 11 24H2 patch. Microsoft has made changes in JScript libraries by default, causing applications to use the JScript9Legacy.dll instead of JScript.dll. As a result, Toad is throwing errors while executing code which is written in the JScript language.

We've documented the workaround in KB article 4377885

I'm posting the workaround here as well:
As a workaround, apply the following steps:

  1. Download the attached “TDM_24H2_fix.txt”
  2. Rename the file extension from .txt to .bat: “TDM_24H2_fix.bat”
  3. Right Click on the file and select “Run as administrator”

What does this script do? It will add registry entry as: HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main and changing JScriptReplacement to 0.

For additional assistance please reach out to our Support team.

TDM_24H2_fix.txt (124 Bytes)