CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Unexpected error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2021, 02:22
Default Unexpected error
  #1
New Member
 
Nils
Join Date: Oct 2021
Posts: 1
Rep Power: 0
n1ls1995 is on a distinguished road
Hello everyone,

I am completely new to this forum so i apologize in advance if this thread is not at the correct place, furthermore, please bear with me because English is not my native language.

I must work with the program ANSYS 2021 R2 for my studies but i get an error every time I want to start ANSYS Workbench. The error states:

Ein unerwarteter Fehler ist aufgetreten: Der Typeninitialisierer für "Ansys.Core.Expressions.ExpressionEvaluator" hat eine Ausnahme verursacht.
System.MissingMethodException: Methode nicht gefunden: "System.Collections.Generic.IEnumerable`1<!!0> Microsoft.Scripting.Utils.ReflectionUtils.GetCusto mAttributes(System.Reflection.Assembly, Boolean)".
bei IronPython.Runtime.Binding.PythonBinder.DomainMana ger_AssemblyLoaded(Object sender, AssemblyLoadedEventArgs e)
bei IronPython.Runtime.Binding.PythonBinder..ctor(Pyth onContext pythonContext, CodeContext context)
bei IronPython.Runtime.PythonContext..ctor(ScriptDomai nManager manager, IDictionary`2 options)
--- System.Reflection.TargetInvocationException: Failed to load language 'IronPython 2.7.4': Methode nicht gefunden: "System.Collections.Generic.IEnumerable`1<!!0> Microsoft.Scripting.Utils.ReflectionUtils.GetCusto mAttributes(System.Reflection.Assembly, Boolean)".
bei Microsoft.Scripting.Runtime.LanguageConfiguration. LoadLanguageContext(ScriptDomainManager domainManager, Boolean& alreadyLoaded)
bei Microsoft.Scripting.Runtime.DlrConfiguration.LoadL anguageContext(ScriptDomainManager manager, LanguageConfiguration config)
bei Microsoft.Scripting.Runtime.DlrConfiguration.TryLo adLanguage(ScriptDomainManager manager, AssemblyQualifiedTypeName providerName, LanguageContext& language)
bei Microsoft.Scripting.Runtime.ScriptDomainManager.Ge tLanguageByTypeName(String providerAssemblyQualifiedTypeName)
bei Microsoft.Scripting.Hosting.ScriptRuntime.GetEngin eByTypeName(String assemblyQualifiedTypeName)
bei Ansys.Core.Expressions.ExpressionEvaluator.CreateS criptEngine()
bei Ansys.Core.Expressions.ExpressionEvaluator..cctor( )
--- System.TypeInitializationException: Der Typeninitialisierer für "Ansys.Core.Expressions.ExpressionEvaluator" hat eine Ausnahme verursacht.
bei Ansys.Core.Expressions.ExpressionEvaluator..ctor()
bei Ansys.Core.Expressions.ExpressionManager..ctor()
bei Ansys.ParameterManager.Data.ParameterEvaluator..ct or(ParameterContainer container)
bei Ansys.ParameterManager.Data.ParameterContainer..ct or()
bei Ansys.ParameterManager.Commands.CreateStaticParame terContainerCommand.Execute(IFullContext context)
bei Ansys.Core.Commands.Concurrency.CommandWorkUnit.ex ecuteInContext(CommandContext subContext, IExecutionEngineCallback tracer)
bei Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExe cute(IExecutionEngineCallback executionEngine, CommandContext subContext)
bei Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execu te(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: Der Typeninitialisierer für "Ansys.Core.Expressions.ExpressionEvaluator" hat eine Ausnahme verursacht.
CommandName: Parameters.CreateStaticParameterContainer()
bei Ansys.Core.Commands.CommandAsyncResult.RethrowFail ureException(Exception e)
bei Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
bei Ansys.Core.DataModel.ProjectSystem.Project.InvokeP rojectInitializationCommands(IProtectedContext commandContext)
bei Ansys.Core.DataModel.ProjectSystem.ResetCommand.Ex ecute(IFullContext context)
bei Ansys.Core.Commands.Concurrency.CommandWorkUnit.ex ecuteInContext(CommandContext subContext, IExecutionEngineCallback tracer)
bei Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExe cute(IExecutionEngineCallback executionEngine, CommandContext subContext)
bei Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execu te(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: Der Typeninitialisierer für "Ansys.Core.Expressions.ExpressionEvaluator" hat eine Ausnahme verursacht.
CommandName: Reset()
bei Ansys.Core.Commands.CommandAsyncResult.RethrowFail ureException(Exception e)
bei Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
bei Ansys.Core.DataModel.ProjectSystem.ResetCommand.In vokeAndWait(IProtectedContext context)
bei Ans.Program.Runtime.Initialize(RuntimeSettings settings)


I tried everything I could find on the internet to solve this error, but it still won't work. I tried reinstalling it, run it as admin, change environmental variables (even though they were correct).
My Laptop:

Dell XPS 15 9570
Prozessor Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz 2.21 GHz
Installierter RAM 8,00 GB (7,74 GB verwendbar)

I really hope someone can help me because i need to start on the projects this week.
n1ls1995 is offline   Reply With Quote

Reply

Tags
ansys, error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[OpenFOAM] Native ParaView Reader Bugs tj22 ParaView 270 January 4, 2016 11:39
Ansys Fluent 13.0 UDF compilation problem in Window XP (32 bit) Yogini Fluent UDF and Scheme Programming 7 October 3, 2012 07:24
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 12:34
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50


All times are GMT -4. The time now is 20:45.