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

Unexpected error by starting Ansys Workbench

Register Blogs Community New Posts Updated Threads Search

Like Tree12Likes
  • 1 Post By alexmeier
  • 1 Post By bigB
  • 5 Post By alexmeier
  • 2 Post By amirsyafiq
  • 3 Post By amirsyafiq

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 23, 2010, 08:06
Default Unexpected error by starting Ansys Workbench
  #1
New Member
 
Alexander Meier
Join Date: Apr 2010
Posts: 8
Rep Power: 16
alexmeier is on a distinguished road
Hi there,

when I try to start Workbench I get the error message:

Unecspected error: Der Typeninitialisierer für "Ans.core.Units.UnitsManager" hat eine ausnahme verursacht.

If I display error details this is what I get:

System.Runtime.InteropServices.SEHException: Eine externe Komponente hat eine Ausnahme ausgelöst.
bei Ans.ComponentSystem.Interop.MiniCom.AnsCoCreateIns tance(Guid rclsid, Object pUnkOuter, UInt32 dwClsContext, Guid riid, IntPtr& ppv)
bei Ans.ComponentSystem.Interop.MiniCom.AnsCoCreateIns tance(Type classType, IntPtr aggr)
bei Ans.Units.CUEUnitsClass.CreateObject(IntPtr aggr)
bei Ans.Core.Units.UnitsManager..cctor()
--- System.TypeInitializationException: Der Typeninitialisierer für "Ans.Core.Units.UnitsManager" hat eine Ausnahme verursacht.
bei Ans.Core.Units.UnitsManager.AreValuesVirtuallyEqua l(Double a, Double b)
bei Ans.Core.DataSpecs.RealSpec`1.AreValuesEqual(Objec t a, Object b)
bei Ans.Core.DataSpecs.NumberSpec`1.IsValueUndefined(O bject value)
bei Ans.Core.DataSpecs.DataSpec.get_HasDefault()
bei Ans.Core.DataSpecs.DataSpec.ValidatePropertySettin gs()
bei Ans.Core.DataSpecs.SpecAttribute.SetSpecProperties (DataSpec spec)
bei Ans.Core.DataSpecs.SpecAttribute.CreateDataSpec(Ty pe type)
bei Ans.Core.DataSpecs.SpecFactory.BuildMemberSpec(Typ eSpec typeSpec, MemberData memberData)
bei Ans.Core.DataSpecs.SpecFactory.BuildTypeSpec(Type type, TypeSpec typeSpec)
bei Ans.Core.DataSpecs.TypeSpecAttribute.CreateDataSpe c(Type type)
bei Ans.Core.DataSpecs.SpecFactory.CreateTypeSpec(Type type, Boolean isCached)
bei Ans.Core.DataModel.DataObjects.DataObjectContainer .AddEntityTypesFromAssembly(Assembly assembly)
bei Ans.Core.DataModel.DataObjects.DataObjectContainer ..ctor(Assembly assembly, String typeString)
bei Ans.Core.DataModel.DataObjects.DataObjectContainer ..ctor(String typeString)
bei Ans.ProjectSchematic.Data.SchematicContainer..ctor ()
bei Ans.ProjectSchematic.Commands.CreateSchematicComma nd.Execute(CommandContext context)
bei Ans.Core.Commands.Concurrency.CommandWorkUnit.exec uteInContext(CommandContext subContext, IExecutionEngineCallback tracer)
bei Ans.Core.Commands.Concurrency.BaseWorkUnit.doExecu te(IExecutionEngineCallback executionEngine, CommandContext subContext)
bei Ans.Core.Commands.Concurrency.BaseWorkUnit.Execute (IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ans.Core.Commands.CommandFailedException: Der Typeninitialisierer für "Ans.Core.Units.UnitsManager" hat eine Ausnahme verursacht.
Command: CreateSchematic()
bei Ans.Core.Commands.CommandAsyncResult.RethrowFailur eException(Exception e)
bei Ans.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
bei Ans.Core.DataModel.ProjectSystem.Project.InvokePro jectInitializationCommands(ICommandContext commandContext)
bei Ans.Core.DataModel.ProjectSystem.ResetCommand.Exec ute(CommandContext context)
bei Ans.Core.Commands.Concurrency.CommandWorkUnit.exec uteInContext(CommandContext subContext, IExecutionEngineCallback tracer)
bei Ans.Core.Commands.Concurrency.BaseWorkUnit.doExecu te(IExecutionEngineCallback executionEngine, CommandContext subContext)
bei Ans.Core.Commands.Concurrency.BaseWorkUnit.Execute (IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ans.Core.Commands.CommandFailedException: Der Typeninitialisierer für "Ans.Core.Units.UnitsManager" hat eine Ausnahme verursacht.
Command: Reset()
bei Ans.Core.Commands.CommandAsyncResult.RethrowFailur eException(Exception e)
bei Ans.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
bei Ans.Core.DataModel.ProjectSystem.ResetCommand.Invo keAndWait(ICommandContext context)
bei Ans.Program.Runtime.Initialize(RuntimeSettings settings)

Has anyone an Idea how to solve this Problem?
thoiba777 likes this.
alexmeier is offline   Reply With Quote

Old   April 27, 2010, 11:42
Default Same Problem Here
  #2
New Member
 
Join Date: Apr 2010
Posts: 1
Rep Power: 0
bernd.ruessel is on a distinguished road
I have the same problem here.

Windows 7 64 bit with Ansys WB 64bit.
bernd.ruessel is offline   Reply With Quote

Old   May 5, 2010, 11:30
Default I have solved the problem
  #3
New Member
 
Alexander Meier
Join Date: Apr 2010
Posts: 8
Rep Power: 16
alexmeier is on a distinguished road
hi bernd.ruessel

With help from ANSYS a was able to solve my Problem.

The error message shown in your screenshot: Unexpected error: The type initializer for 'Ans.Core.Units.UnitsManager' threw an exception. ... is indicative of a particular type of installation error, which usually only occurs on Windows Vista, and possibly Windows 7. If it is Windows Vista or Windows 7, is there any chance that you installed the software without disabling user access control (UAC) or without running the installation as an administrator? In particular, if you failed and tried again with UAC disabled, it's possible that there are some environment variables which may have been left over from the previous failed installation. What sometimes happens is that without UAC disabled, the software installs in 'C:\ANSYS Inc' instead of 'C:\ANSYS Program Files\Inc' and certain environment variables are set. If the installation is repeated with UAC disabled (or as an administrator), the software installs in 'C:\ANSYS Program Files\Inc', but the environment variables are not updated. I would recommend checking the following: - Check where the software has been installed. Usually 'C:\Program Files\ANSYS Inc\v121'. - Go to 'Control Panel > System > Advanced > Environment Variables' - Look for the environment variable AWP_ROOT121. Make sure it is set to the location where the software is installed. It should normally be 'C:\Program Files\ANSYS Inc\v121', but it may be incorrect. If it is incorrect, change the value of this environment variable to the correct location. - Try running Workbench again. Hopefully that will fix the problem.

I hope this will solve your problem to.
alexmeier is offline   Reply With Quote

Old   June 2, 2010, 10:44
Default Still the same Problem
  #4
New Member
 
Michael Baeck
Join Date: Jun 2010
Posts: 3
Rep Power: 16
bigB is on a distinguished road
Workbench still not working!
I have also a Notebook with:
Windows 7, 64 bit, and Ansys 12.1 WB 64bit not working.
Have someone an other suggestion to solve my Problem?
thoiba777 likes this.
bigB is offline   Reply With Quote

Old   June 2, 2010, 11:46
Default
  #5
New Member
 
Alexander Meier
Join Date: Apr 2010
Posts: 8
Rep Power: 16
alexmeier is on a distinguished road
Can you specify what is not working?
did you change all the Environment Variables mentioned?
alexmeier is offline   Reply With Quote

Old   June 2, 2010, 17:23
Default I don´t find it
  #6
New Member
 
Michael Baeck
Join Date: Jun 2010
Posts: 3
Rep Power: 16
bigB is on a distinguished road
I don`t find: Control Panel > System > Advanced > Environment Variables' - Look for the environment variable AWP_ROOT121.
Is it under Ansys Inc?
Could you please take Screenshots?
Thank´s for help.
My Notebook is an i7. Could this be the problem?
bigB is offline   Reply With Quote

Old   June 3, 2010, 03:38
Default
  #7
New Member
 
Alexander Meier
Join Date: Apr 2010
Posts: 8
Rep Power: 16
alexmeier is on a distinguished road
Here you are
I hope this will help you.



alexmeier is offline   Reply With Quote

Old   June 3, 2010, 04:18
Default Thank you
  #8
New Member
 
Michael Baeck
Join Date: Jun 2010
Posts: 3
Rep Power: 16
bigB is on a distinguished road
I can start the Workbench.
Thanks!!!
bigB is offline   Reply With Quote

Old   July 6, 2010, 17:14
Default
  #9
New Member
 
WIROTE
Join Date: Jul 2010
Posts: 2
Rep Power: 0
Reto is on a distinguished road
@alexmeier

Thanks for your suggestion! It's really work.
Reto is offline   Reply With Quote

Old   March 2, 2012, 04:14
Default
  #10
New Member
 
amir syafiq
Join Date: Mar 2012
Posts: 2
Rep Power: 0
amirsyafiq is on a distinguished road
i cant open the image...helppp..i had a same problem too..too bad
alpis and king1 like this.
amirsyafiq is offline   Reply With Quote

Old   March 3, 2012, 12:22
Default
  #11
New Member
 
amir syafiq
Join Date: Mar 2012
Posts: 2
Rep Power: 0
amirsyafiq is on a distinguished road
i cant see the image ...plss help me.......
Linus, alpis and king1 like this.
amirsyafiq is offline   Reply With Quote

Old   January 16, 2014, 13:37
Smile Ans.Core.Units.UnitsManager error
  #12
New Member
 
Wael sghaier
Join Date: Jan 2014
Posts: 2
Rep Power: 0
smwaerospace is on a distinguished road
Please anyone tell me how to fix this problem
Attached Images
File Type: jpg ansyy.JPG2.jpg (99.3 KB, 167 views)
File Type: jpg ansyy.jpg (94.7 KB, 116 views)
smwaerospace is offline   Reply With Quote

Old   February 20, 2014, 02:00
Default Problem in Enteting Udf in ANSYS
  #13
New Member
 
Ankit Gohel
Join Date: Jul 2013
Posts: 5
Rep Power: 13
hellovers60 is on a distinguished road
I found from net, for entering the udf in ansys, open it with using visual basic command prompt..
Its working fine in fluent but the same thing is not working in ANSYS 14.5..
Its gives me error named "C:\ANSYS" is not recognized as an internal or external command...
I install it in C:\program file\ANSYS Inc as well C:\Ansys Inc.... Still i ma not able to open it with using command line....
Same method is working in opening fluent... and m able to insert A udf

My ANSYS directory wich i insert in command
C:\ANSYS Inc\v145\fluent\fluent14.5.0\launcher\win64\launch er1

Pls help me to shortout this problem....
Thanks.....
hellovers60 is offline   Reply With Quote

Old   January 30, 2015, 06:49
Default
  #14
New Member
 
Malus Pitus
Join Date: Jan 2015
Posts: 1
Rep Power: 0
Mlspts is on a distinguished road
Hello,

Excuse me, i'm bad in english.

First, I'd like to thank you all for your help.

I had this problem, I have checked the environment variables, but they were correct.

I removed ansys and the antivirus software. I removed also all the keys of ansys and the antivirus in the register (regedit) ( !!! be careful when you manipulate the register !!!)
I restarted the computer and reinstalled ansys. Now I can run Ansys workbench.

I hope this could help someone.

Thank you !!
Mlspts is offline   Reply With Quote

Old   April 7, 2016, 06:53
Default Bug in ANSYS WORKBENCH!!
  #15
New Member
 
vijay kadli
Join Date: May 2010
Posts: 3
Rep Power: 16
vijay755 is on a distinguished road
Hi All,
I am getting a strange problem in ANSYS Workbench.
an anyone sort this?

When I start Workbench from windows start menu, ANSYS page opens and then only the getting started page opens but the Workbench do not open.

I tried a lot to fix this error but could not succeed.

Can any one help me with this?

vijaykadli@gmail.com
vijay755 is offline   Reply With Quote

Reply

Tags
ansys 12, unexpected error, workbench 12


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
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 10:23
[ICEM] what does the different ANSYS ICEM and ANSYS Workbench? agungwp ANSYS Meshing & Geometry 8 April 12, 2016 05:51
Macro command combatibility ANSYS workbench Tassos CFX 6 January 13, 2014 05:19
Ansys workbench problem Jonny6001 ANSYS 2 September 30, 2010 13:59
Export Heat Flux CFX -> ANSYS Workbench Freeman CFX 2 April 11, 2010 09:24


All times are GMT -4. The time now is 12:27.