We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

JavaScript Runtime Error in AQWA Pre on Windows 11 (Version 24H2)

    • upendar.bobba
      Subscriber

      Hello,

      I'm encountering a JavaScript runtime error when trying to open AQWA through Workbench on a Windows 11 machine (version 24H2). The issue occurs after importing or creating geometry within the Hydrodynamic Diffraction system and then double-clicking on the model in the project schematic to open AQWA Pre. After this, I'm unable to proceed with several tasks in AQWA Pre, including:

             Adding mass
             Meshing
             Viewing the details window
      Interestingly, I’ve tested the same geometry on a different PC running Windows 10, and everything works fine without any issues.

      I’ve already attempted the following troubleshooting steps:

      Renaming the V242 folder to V242.old in the %appdata% folder, but the issue persists.
      Checked for updates to both Windows and AQWA/Workbench, with no resolution.
      Has anyone encountered a similar issue on Windows 11, and can anyone suggest any further troubleshooting steps or potential solutions?

      Thanks in advance for any guidance!

       

       

       

       

       

       

    • 21103072
      Subscriber

      I have the same issue as well have you found a way to fix it?

       

    • upendar.bobba
      Subscriber

      I haven't found a solution to fix it yet. I'll keep looking into it and let you know if I come across anything.

    • pooyakhoshi2000
      Subscriber

      what about v 241

    • pooyakhoshi2000
      Subscriber

      "Please be quick to respond, I'm facing an issue in the middle of an important project and need help urgently."

    • pooyakhoshi2000
      Subscriber

    • dimme32
      Subscriber

      I am using Fluent. I open Design Modeler and import the geometry, after creating the functions of interest, I open the mesh section and encounter this error. Should I follow the same procedure described above? Specifically, I noticed that this error occurs if and only if, in boolean subtract, I click yes on preserve tool bodies. Otherwise, this error is not observed.

    • dimme32
      Subscriber

      I am using Fluent, specifically Ansys 2024 R2 v242.

    • dimme32
      Subscriber

      This is the error that pops up. I had also already tried entering the commands in the prompt (as suggested in some posts for this type of issue) and renaming the V242 folder to V242_old, as well as doing the same with the Ansys folder. However, none of these steps worked.

    • sungrg777
      Subscriber

      I'm also having same problem not solved yet please reply soon

       

    • Gary_S
      Ansys Employee

       

       

       

       

      If anyone is experinecing this issue on Windows 11 24H2, please try this suggestion and provide feeback. 

      Search the internet for “JScriptReplacement” or “jscript9legacy.dll” and you will get several hits on the issue which is affecting many commercial software programs. 

      Windows 11 24H2 has begun setting a local policy that, by default, causes applications to use the JScript9Legacy.dll instead ofJScript.dll. 
      This issue can be resolved by changing the default registry key to load the classic jscript.dll instead of the JScript replacement DLL jscript9legacy.dll.
      To load jscript.dll by default:

       

      1. Launch regedit.

      2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main
        (Create the folder Keys for Internet Explorer and Main if they do not exist)

      3. Right-click the Main key and select New | DWORD (32-bit) Value.

      4. Name the new value JScriptReplacement.

      5. Set the value of JScriptReplacement to 0.

      6. Reboot the computer. 

      Users can directly modify the registry key in either HKEY_LOCAL_MACHINE (as shown above) or HKEY_CURRENT_USER.

       

       

       

       

    • matthew.vermeulen
      Subscriber

       

      Not Aqwa, but just Mechanical 2025 R1. Tried the registry change mentioned in HKEY_LOCAL_MACHINE, and the Internet Explorer and Main keys had to be created, but after a restart this made the error go away.

       

    • aklaibi
      Subscriber

      This error appears during choosing the appropriate parameters in the mesh field 

      Mr. Gary can you please set the procedure in a similar manner to the error mentioned above

       

    • Gary_S
      Ansys Employee

      Hi Aklaibi
       The Jscript error for which I address with the above Registry entry only applies to Windows 11 24H2. 
       Your error does not seem to be related to this. Please confirm.
       

    • aklaibi
      Subscriber

      Hi Mr Gary thank you for your response.

      This error (I mentioned before) occurs on the same day that window was updated to 24H2. I opened all the files I made and I found that what was working with no error now gives this message and when the meshing finished, it finished with errors. It never ended successfully.   

    • Gary_S
      Ansys Employee

      My best advice is to try the Windows registry entry as described above. 

    • Ashish Khemka
      Forum Moderator

      Hi @adedayoogunsesan,

      Can you please create a new forum thread for the meshing issue? This thread discusses another topic and I will close it now.

      Regards,

      Ashish Khemka

       

    • konstantinospolychronakis10
      Subscriber

      Good evening everyone!

      I am trying to simulate a floating body in ansys aqwa and i cannot mesh my geometry while i am facing this mistake "javascipt runtime error aqwa proj mgr.Mesh.Generate(picked);" Can anyone help me?

      • Mike Pettit
        Ansys Employee

        Hello,

        Please can you share a screenshot of the exact error message you are seeing?

        Mike

      • Gary_S
        Ansys Employee

        Please tell us your exact Windows version (winver.exe).

    • konstantinospolychronakis10
      Subscriber

      • konstantinospolychronakis10
        Subscriber

        • Gary_S
          Ansys Employee

          Have you applied the JScriptReplacement registry modification as decribed above? 

    • Gary_S
      Ansys Employee

      The registry key workaround mentioned above (JScriptReplacement) should be the only fix required to resolve the JavaScript 800a000d related runtime errors.

      If you are not able to apply the registry workaround due to IT policies, then we recommend reverting to an earlier update of Windows 11.

      Official support for Windows 11 24H2 will begin with 2025R1 + SP2 Service Pack 2. 



       

    • pooyakhoshi2000
      Subscriber

      I followed the steps, but the error still persists. My operating system is Windows 11 Pro, and it's updated to the latest version available. However, the issue hasn’t been resolved. Do you have any other solutions?

Viewing 19 reply threads
  • The topic ‘JavaScript Runtime Error in AQWA Pre on Windows 11 (Version 24H2)’ is closed to new replies.