TAGGED: workbench
-
-
September 25, 2020 at 5:39 pm
jnottie
SubscriberWorkbench gives an error every time it opens. The Workbench gives an unexpected error Exception has been thrown by the target or an invocation every time you try to open it. I have verified Iron Pyton and the other pre-req software is installed. I tried this with the 2020 R1 and R2 release and on multiple computers. I get the same issue. Can you anyone help?n -
September 25, 2020 at 6:39 pm
tsiriaks
Ansys Employeecan you provide a screenshot of the error message ? Make sure you expand the 'more details' if exist. Please post the image inline with text (don't attach it)nhave you tried temporarily disabling the security (anti-virus, firewall, etc.) on the machine ?n -
September 28, 2020 at 12:30 pm
jnottie
SubscriberHere is the error. Yes, I tried disabling security and tried it on multiple PCS:nAn unexpected error has occurred: Exception has been thrown by the target of an invocation.nSystem.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1 Microsoft.Scripting.Utils.ReflectionUtils.GetCustomAttributes(System.Reflection.Assembly, Boolean)'.n at IronPython.Runtime.Binding.PythonBinder.DomainManager_AssemblyLoaded(Object sender, AssemblyLoadedEventArgs e)n at IronPython.Runtime.Binding.PythonBinder..ctor(PythonContext pythonContext, CodeContext context)n at IronPython.Runtime.PythonContext..ctor(ScriptDomainManager manager, IDictionary`2 options)n--- 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)'.n at Microsoft.Scripting.Runtime.LanguageConfiguration.LoadLanguageContext(ScriptDomainManager domainManager, Boolean& alreadyLoaded)n at Microsoft.Scripting.Runtime.DlrConfiguration.LoadLanguageContext(ScriptDomainManager manager, LanguageConfiguration config)n at Microsoft.Scripting.Runtime.DlrConfiguration.TryLoadLanguage(ScriptDomainManager manager, AssemblyQualifiedTypeName providerName, LanguageContext& language)n at Microsoft.Scripting.Runtime.ScriptDomainManager.GetLanguageByTypeName(String providerAssemblyQualifiedTypeName)n at Microsoft.Scripting.Hosting.ScriptRuntime.GetEngineByTypeName(String assemblyQualifiedTypeName)n at Ansys.PythonScriptingEngine.PythonScriptingEngine.CreateIronPythonEngine()n at Ansys.PythonScriptingEngine.PythonScriptingEngine.Initialize(CommandManager commandManager)n--- System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.n at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)n at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)n at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)n at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)n at System.Activator.CreateInstance(Type type, Object[] args)n at Ansys.Core.Scripting.ScriptingEngineFactory.createEngine(Boolean debug)n at Ansys.Core.Scripting.ScriptingEngineFactory.GetScriptingEngine()n at Ansys.EKM.Commands.InitWorkbenchServerCommand.RunWorkbenchServerUtilsScript(IFullContext context)n at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)n at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)n at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)n--- Ansys.Core.Commands.CommandFailedException: Exception has been thrown by the target of an invocation.nCommandName: EKM.RunServerScript()n at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)n at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)n at Ansys.Core.Commands.CommandManager.InvokeSessionInitializationCommands()n at Ansys.Core.Kernel.RegisterSessionData()n at Ans.Program.Runtime.Initialize(RuntimeSettings settings)n -
September 28, 2020 at 11:12 pm
tsiriaks
Ansys EmployeeCheck this thread nnBasically, your machine has some other IronPython installed which interferes with what ANSYS is trying to use.n -
September 29, 2020 at 1:37 pm
jnottie
SubscriberIronRuby was it! That was installed with Automation Studio. I removed IronRuby and all is well. Thank you so much for the help!n -
September 30, 2020 at 7:14 pm
tsiriaks
Ansys EmployeeNice ! Glad that helps you figure out the issue.n -
November 14, 2020 at 10:26 am
saggukamal538
SubscriberI'm also facing this ironPython kind of errornPlz helpn -
October 19, 2022 at 11:39 pm
Ali Kamali
SubscriberHi everyone.
I had an error in my wbpj. Can you help e to fix it?
-
July 31, 2023 at 10:54 am
-
October 11, 2023 at 8:17 pm
Christopher Dcruz
SubscriberWorkbench gives me this Error everytime I open it.ÂAn unexpected error has occurred: The following required addins could not be loaded: Ans.SceneGraphChart.SceneGraphAddin. The software will exit.--- System.AggregateException: The following required addins could not be loaded: Ans.SceneGraphChart.SceneGraphAddin. The software will exit.Â--- System.Exception: SceneGraph.Engine - failed to boot up.  at Ans.SceneGraphChart.Engine..ctor(IConfiguration p_config, IErrorHandler p_errorHandler)  at Ans.SceneGraphChart.SceneGraphAddin.Load(AddinLoadContext context)  at Ansys.Core.Addins.AddinManager.setupAddin(String path, String name, AddinBase addin)  at Ansys.Core.Addins.AddinManager.LoadAddin(String name, String path)
-
Viewing 9 reply threads
- The topic ‘Workbench unexpected error’ is closed to new replies.
Innovation Space
Trending discussions
Top Contributors
-
4613
-
1520
-
1386
-
1209
-
1021
Top Rated Tags
© 2025 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.
.png)