Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Issues with opening Ansys for the first time

    • hamish.phillips
      Subscriber

      Hello,

      I am new to Ansys, and when I try to open the workbench for the first time i get a fatal error: "unhandled exception caught".

      Does anyone know how I can fix this? thanks!

      (trying to use workbench 2025 R2)

    • Rajeshwari Jadhav
      Forum Moderator

      Hi Hamish,

      Please try the below steps: (take help from your IT if you don’t have admin access)

      Close all the Ansys applications before trying the below suggestion step by step. Can you please try adding the below timeout features in the ansyslmd.ini file –
       

      1. Go to C:\Program Files\ANSYS Inc\Shared Files\Licensing directory, copy the ansyslmd.ini file to the desktop location.
        Open the ansyslmd.ini file using Notepad and add the following lines –
         
        ANSYSLI_FNP_IP_ENV=1
        ANSYSLI_TIMEOUT_FLEXLM=20
        ANSYSLI_FLEXLM_TIMEOUT_ENV=20000000
        ANSYSCL_TIMEOUT_CONNECT=60
        ANSYSCL_TIMEOUT_RESPONSE=300
         
        Once you add the lines, click Save As > ensure that the save as file type is ‘all files’.
        Once the file is saved, please replace the old ansyslmd.ini file using the newly created one.

       

      1. Also set the following Environment Variable –
        Go to START > ‘Edit the System Environment Variables’ > click Environment Variables.
        Under the System Variables, please click NEW and create a new variable.
         
        Variable Name – FLEXLM_TIMEOUT
        Variable Value – 50000000
         
        Save it.
         
      2. Config File Reset -  
        Now open a file explorer and type %appdata% in the address bar.
        Locate the Ansys folder and rename it to Ansys.old.
         
      3. If not using Ansys Shared Web based license, then the issue can be caused by having shared web licensing activated. Open Ansys Licensing Settings from Ansys 2025Rx. (for v23Rx above only)


                      Then go to “Shared” under “Web Licensing” and toggle the enabled slider to off.
       

      1. If not using Ansys Shared Web-based license, then open ansyslmd.ini file and remove/comment ANSYS_LICENSING_SHARED_WEB=0 and save it.

                   Path: \ANSYS Inc\Shared Files\licensing

      Let me know if you face any issues after trying above steps.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.