Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

Error while trying to run

    • mysticalmanish11
      Subscriber

      I tried to run ANSYS workbench 2024 Student version but it is giving "An unexpected error has occurred: The type initializer for 'Ansys.Core.Expressions.ExpressionEvaluator' threw an exception." error.
      Upon further details it says following

      An unexpected error has occurred: The type initializer for 'Ansys.Core.Expressions.ExpressionEvaluator' threw an exception.
      System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable1 Microsoft.Scripting.Utils.ReflectionUtils.GetCustomAttributes(System.Reflection.Assembly, Boolean)'.
      at IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded(Object sender, AssemblyLoadedEventArgs e)
      at IronPython.Runtime.Binding.PythonBinder..ctor(PythonContext pythonContext, CodeContext context)
      at IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, IDictionary
      2 options)
      --- System.Reflection.TargetInvocationException: Failed to load language 'IronPython 2.7.4': Method not found: 'System.Collections.Generic.IEnumerable`1 Microsoft.Scripting.Utils.ReflectionUtils.GetCustomAttributes(System.Reflection.Assembly, Boolean)'.
      at Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext(ScriptDomainManager domainManager, Boolean& alreadyLoaded)
      at Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext(ScriptDomainManager manager, LanguageConfiguration config)
      at Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage(ScriptDomainManager manager, AssemblyQualifiedTypeName providerName, LanguageContext& language)
      at Microsoft.Scripting.Runtime.ScriptDomainManager.GetLanguageByTypeName(String providerAssemblyQualifiedTypeName)
      at Microsoft.Scripting.Hosting.ScriptRuntime.GetEngineByTypeName(String assemblyQualifiedTypeName)
      at Ansys.Co

    • Rajeshwari Jadhav
      Forum Moderator

      Hi,

      What's the release no? Can you rename the Ansys folder (%appadat%) to Ansys.old and try again?

    • trinhtt
      Subscriber

      try reinstalling ANSYS and ensure required .NET frameworks are correctly installed.

      geometry dash

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]