-
-
November 17, 2019 at 8:54 pm
Fireengineering
SubscriberHello everyone!
I just downloaded Discovery AIM student and installed it afterwards. As i tried to to open the workbench for the first time, this error shows up (for those of you wondering: it's in german):
Â
An unexpected error has occurred: Der Typeninitialisierer für "Ansys.Core.Expressions.ExpressionEvaluator" hat eine Ausnahme verursacht.
System.MissingMethodException: Methode nicht gefunden: "System.Collections.Generic.IEnumerable`1 Microsoft.Scripting.Utils.ReflectionUtils.GetCustomAttributes(System.Reflection.Assembly, Boolean)".
bei IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded(Object sender, AssemblyLoadedEventArgs e)
bei IronPython.Runtime.Binding.PythonBinder..ctor(PythonContext pythonContext, CodeContext context)
bei IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, IDictionary`2 options)
The error goes on and on for quite a bit. If there is a need for the rest of it, I'll be happy to provide it.
Unfortunately my google research wasn't helpful at all. I would really appreciate any form of solution or information on how to fix it.
Thank you for your help!
-
November 19, 2019 at 9:41 pm
tsiriaks
Ansys EmployeePlease try using ANSYS Student package instead if you want to use Workbench.
Thanks,
Win
-
October 4, 2021 at 11:11 am
n1ls1995
Subscriber.I have the same error, how do i fix it? I downloaded the student version and have tried everything i could find on the internet but nothing helps.
. -
March 14, 2022 at 6:59 pm
heritbutani
Subscriber.
An unexpected error has occurred: The type initializer for 'Ansys.Core.Expressions.ExpressionEvaluator' threw an exception.System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1 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.Core.Expressions.ExpressionEvaluator.CreateScriptEngine()
--- System.TypeInitializationException: The type initializer for 'Ansys.Core.Expressions.ExpressionEvaluator' threw an exception.
  at Ansys.Core.Expressions.ExpressionEvaluator..ctor()
  at Ansys.Core.Expressions.ExpressionManager..ctor()
  at Ansys.ParameterManager.Data.ParameterEvaluator..ctor(ParameterContainer container)
  at Ansys.ParameterManager.Data.ParameterContainer..ctor()
  at Ansys.ParameterManager.Commands.CreateStaticParameterContainerCommand.Execute(IFullContext context)
  at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: The type initializer for 'Ansys.Core.Expressions.ExpressionEvaluator' threw an exception.
CommandName: Parameters.CreateStaticParameterContainer()
  at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
  at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
  at Ansys.Core.DataModel.ProjectSystem.Project.InvokeProjectInitializationCommands(IProtectedContext commandContext)
  at Ansys.Core.DataModel.ProjectSystem.ResetCommand.Execute(IFullContext context)
  at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
  at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: The type initializer for 'Ansys.Core.Expressions.ExpressionEvaluator' threw an exception.
CommandName: Reset()
  at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
  at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
  at Ansys.Core.DataModel.ProjectSystem.ResetCommand.InvokeAndWait(IProtectedContext context)
.
-
- The topic ‘error while starting ansys aim: Ansys.Core.Expressions.ExpressionEvaluator’ is closed to new replies.
-
5014
-
1683
-
1387
-
1248
-
1021
© 2026 Copyright ANSYS, Inc. All rights reserved.