Ansys Learning Forum Forums Installation and Licensing Ansys Free Student Software JavaScript Runtime Error in AQWA Pre on Windows 11 (Version 24H2) Reply To: JavaScript Runtime Error in AQWA Pre on Windows 11 (Version 24H2)

Mike Pettit
Ansys Employee

Hello,

Thanks for that. In this case I can give you specific instructions to fix the issue:

  • Close Ansys Workbench and all Workbench editors
  • In Windows Explorer, navigate to C:\Program Files\ANSYS Inc\v242\aisol\DesignSpace\DSPages\scripts
  • Make a back-up copy of DSTreeScript.js
  • Open DSTreeScript.js with a text editor
  • Search for the text 'TreeHandler.RemoveAndFillChildNodes'
  • You should have 2 matches, at line numbers 210 and 218. Add a new line before each match, and add the text 'if (parentNode != null)'. The modified lines should look like this:

  • Save the file, then re-open Ansys Workbench and try to re-open the Mesh editor.

I hope this helps.

Mike