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.

Getting a script error code: 80004005 Line:45377

    • moawezawan
      Subscriber

      Hi! I am not sure why but I am getting this error consistently every time I try to open Ansys mechanical. I have tried uninstalling and reinstalling but I am still getting this error. Please help! thanks! 

    • Rob
      Forum Moderator

      Can you look in Workbench to see if there are any messages there too? 

    • moawezawan
      Subscriber

      That's the error message showing. It is weird because it was working fine a few days ago. 

    • moawezawan
      Subscriber

      sorry accidentally clicked on the solution option...and it isnt geometry issue its something with the mechanical interface of workbench. 

       

      Edit: rwoolhou. No worries. Think deleting my post fixed it: will wait for Win to get on. 

    • tsiriaks
      Ansys Employee

      moawezawan,

      Try this.

      Make sure all ANSYS applications are closed, then try registering the DLL's by starting a Command Prompt with "run as administrator" ,  and issuing the following commands

      regsvr32.exe ole32.dll

      regsvr32.exe atl.dll

      regsvr32.exe oleaut32.dll

      regsvr32.exe scrrun.dll

      regsvr32.exe jscript.dll

      regsvr32.exe vbscript.dll

       

      All must say successful.

       

      Then, open up a regular Command Prompt , do not "run as administrator", and issue the following command

      move "%appdata%ansys" "%appdata%ansys.old"

       

      Thanks,

      Win

    • Vlad5435
      Subscriber

      I had the same issue and this solved it. Thank you Win

    • Tejas1012
      Subscriber
      I'm getting same error please help
    • felippeyo
      Subscriber

      Hi, I could fix the problems using the same steps

      For the first part you can watch this video:
      https://www.youtube.com/watch?v=8ZG8WiW8x8I

      Inside the prompt you will insert the commands:

      regsvr32.exe ole32.dll

      regsvr32.exe atl.dll

      regsvr32.exe oleaut32.dll

      regsvr32.exe scrrun.dll

      regsvr32.exe jscript.dll

       

      regsvr32.exe vbscript.dll

      And after this step you should go to Disk C:-> Users-> The folder with your name -> AppData -> Roaming -> Ansys. So you can rename the folder with your license (mine for example is v201) for "(Your License)_old" (mine for example v201_old).

      I hope it works

    • user deleted
      Subscriber

      Hello Win, can you please help me? 

      I seem to get the same issue.

      I have tried to run the scripts in the command prompt, but several of them didn't run, see below.

      In addition, I cant find this appdata. This is my working laptop, I am afraid to do something wrong, but maybe it is better to reinstall ansys at all?

      Thank you for help.

      Please, let me know what I should do to fix this.

       

       

    • feliperignacio
      Subscriber

      hey guys,

      all the codes that i executed say succesfull but in my desk i dont find the folder ¨app data¨ instead i got ¨calibry library¨ with the file named ¨metadata¨ what to do in this case??? 

      pls help me - sorry for my english 

      felipe 

    • Rob
      Forum Moderator

      appdata is the location for all of the user settings (graphics etc) and can cause problems with the software if it corrupts.   If you've run a model the files should be wherever you saved Workbench. 

    • HeMeng
      Subscriber
      .

      .
    • banubanu
      Subscriber
      !!!!!
      Thank you so much, I have been facing error "Line 45950 80004005" for three hours and your directions worked. Now my Ansys is back to its healty life :) I will pray for you all to be saved by others in your hardest times.
      Greetings from Turkey
      Banu
    • manu_98
      Subscriber
      Hey guys, maybe one of you can help me.
      I have the same problem as the guys before me but im not able to solve it.
      Where do i have to insert the
      "%appdata%ansys" "%appdata%ansys.old"
      part? And do I have to add it with the "% or without? I really need held (sorry for my English)
      Greetings

    • Rob
      Forum Moderator
      The %appdata% is a Windows file that stores preferences, typically in
      C:UsersusernameAppDataLocalAnsys
      C:UsersusernameAppDataRoamingAnsys
      You need to rename the folder that links to the version of Ansys software that you're having problems with.


    • manu_98
      Subscriber
      Hey Rob,
      I found the folder and changed the name to .old gut its not working anyway....
    • harishravikale.201ch024
      Subscriber
      .

      felippeyo,thank you so much. I was trying to resolve this error for a long time.

      .
    • MihaiCadis
      Subscriber
      .

      How can we solve this problem in linux?


      .
    • mcmp
      Subscriber
      .

      I was getting the same error code: 80004005, line: 92952, char:4. I was able to solve it using tsiriaks' advice.

      Thank you!

      .
    • Nomiko
      Subscriber
      .

      I had this problem. ''Tsiriak"s advice helped me. Thanks


      .
Viewing 19 reply threads
  • The topic ‘Getting a script error code: 80004005 Line:45377’ is closed to new replies.