MAX.NET UNHANDLED EXCEPTION in 3DS MAX 2014

 
 
 
Posted by:ronald_balza
Data created:16 July 2013

Any suggestion on how to fix this? Thanks in advance.

 

 

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Ephere.Utilities.Evaluator' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Users\Ronald Balza\AppData\Local\Temp\3l1bbttu.dll' or one of its dependencies. The system cannot find the file specified.
   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
   at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)
   at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()
   at Ephere.Utilities.Evaluator..cctor()
   --- End of inner exception stack trace ---
   at Ephere.Utilities.Evaluator.EvalToDouble(String statement)
   at Ephere.Gui.NodeViews.Skin.Area.GetLeftValue(Dictionary`2 parameterValues)
   at Ephere.Gui.NodeViews.NodeView.Node.LayoutNodes()
   at Ephere.Gui.NodeViews.Schematic.ValueNode.LayoutNodes()
   at Ephere.Gui.NodeViews.Schematic.InternalInputsNode.LayoutNodes()
   at Ephere.Gui.NodeViews.Skin.SetBoilerPlateSchematicView(Schematic view)
   at Ephere.Gui.NodeViews.Skin.get_Default()
   at Autodesk.Max.StateSets.Plugin..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at Autodesk.Max.Manager.LoadAssembly(String name, Boolean startingUp)
   at Autodesk.Max.Manager.LoadAssemblies()

Looks like on the dlls/plugins you are trying to load references 3l1bbttu.dll and it cannot find that when it is resolving assemblies. Using a global assembly resolver or simply placing that dll into Max root or that directory could help.

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Hi all,

 

I have the same problem - brand new installation of 3dsmax 2014, everything smooth, then I install a dig-o-matic plugin and some ephere system can not find its dll any more. Dig-o-matic points at ephere - so does the 3dsmax error!! See below. Unlike Ephere's response above, however, the missing dll is neither on the installation media, nor on in the autodesk folder. Here is the 3dsmax startup error dump:

 

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Ephere.Utilities.Evaluator' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\TMP\12i2xy45.dll' or one of its dependencies. The system cannot find the file specified.

   at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

   at System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity)

   at System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly()

   at Ephere.Utilities.Evaluator..cctor()

   --- End of inner exception stack trace ---

   at Ephere.Utilities.Evaluator.EvalToDouble(String statement)

   at Ephere.Gui.NodeViews.Skin.Area.GetLeftValue(Dictionary`2 parameterValues)

   at Ephere.Gui.NodeViews.NodeView.Node.LayoutNodes()

   at Ephere.Gui.NodeViews.Schematic.ValueNode.LayoutNodes()

   at Ephere.Gui.NodeViews.Schematic.InternalInputsNode.LayoutNodes()

   at Ephere.Gui.NodeViews.Skin.SetBoilerPlateSchematicView(Schematic view)

   at Ephere.Gui.NodeViews.Skin.get_Default()

 

 

Would be great if someone at Ephere would take a serious look at their runtime assembly sequence? Many thanks

 

Hans

Hello Hans,

Does this happen right after Max startup or after when you try to open something in Max?

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Hi Marcel,

 

Thanks for taking an interest

 

The crash happens no matter whether you start 3dsmax or try to open somesthing opening it - 3ds max will not start, period.

By the way, it runs through its entire initialization sequence, but then crashes at the end. Not been able to trap anything in the c:\tmp folder during this process.

I found two installation localities of the ephere.utilities.dll, one in 3dsmax, one in edsmas/plugins  - deleting either had no effect. What should their directory look like - both eleetions call for differentially named dlls on C:/TMP, but I think the names are created on the spot. No use searching for missing dlls.

 

Regards,

Hans

WHat happens if you remove /bin/assemblies/Autodesk.Max.StateSets.dll ?

Marsel Khadiyev (Software Developer, EPHERE Inc.)

Dear Marsel,

 

then Max crashes at startup without an error message. Tried to then repair max, but that just installs the statesets.dll again - and max crashes with warning again, Seems to me each time I do this, the file missiong in the C:\TMP folder has a different name...

 

Regards,

Hans

Hi Hans,

Seems strange indeed. I wonder what dig-o-matic replaced to make this happen. If you uninstall it do things go back to working?

Marsel Khadiyev (Software Developer, EPHERE Inc.)