Unable to load Microsoft.VisualC.STLCLR.dll

Analyzes .NET assemblies for types of exceptions

Moderators: Luke Jefferson, Charles Brown, AndrewH, melvyn.harbour, Chris.Allen, dom.smith

Unable to load Microsoft.VisualC.STLCLR.dll

Postby dkellyb717 » Mon Mar 07, 2011 4:38 pm

Whenever I try to load the assembly Microsoft.VisualC.STLCLR.dll or anything that depends on it, I receive the following error:

An exception was encountered while trying to load the assembly D:\\development\\src\\SCSGOV\\1.0_CVN76\\Release\\Microsoft.VisualC.STLCLR.dll.
RedGate.Exceptions.AssemblyNotLoadedException
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Exception )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(Boolean )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly.a(String )
at RedGate.ExceptionHunter.Logic.CecilSPI.DotNetAssembly..ctor(IExceptionHunterSession session, String fullPathname)
at y.GetPE(String fullPathname)
at v.AddSessionAssembliesAndReferences(IEnumerable`1 filenames)
at RedGate.ExceptionHunter.UI.MainForm.<>c__DisplayClass21.<AddAssemblies>b__1d()

Caused by:

The interface System.Collections.IEnumerator has an unresolved method get_Current that could not be located in the class Microsoft.VisualC.StlClr.DequeEnumerator`1.
RedGate.Exceptions.MethodNotFoundException
at cv.a(o )
at cv.get_ImplicitOverrides()
at m.c(o )
at cB.a()
at cB.a(IEnumerable`1 , String )
at cB.a(String , Boolean )
at bz.LoadAssemblyFromFile(String filename)
at bs.e.PerformTask()
at bs.a()

Furthermore, once I receive this error, I can no longer load ANY assemblies, even after removing all assemblies, until I restart ExceptionHunter. Since nearly all of our code depends upon this dll, getting this to load is a top priority.
dkellyb717
 
Posts: 2
Joined: Mon Mar 07, 2011 4:17 pm

Postby Brian Donahue » Tue Mar 08, 2011 6:53 pm

Corrrect me if I'm wrong, but isn't STLCLR a 100% unmanaged C++ library for providing "Standard Template" support to C++ coders? If so, Exception hunter can't process this library. It is only effective on 100% managed .NET assemblies. I'll agree the error is super-ugly but you won't get any information about unmanaged "exceptions" in Exception Hunter - only strongly-typed CLR exceptions.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby dkellyb717 » Tue Mar 08, 2011 6:57 pm

You are incorrect. STLCLR is the managed implementation of STL for the Common Language Runtime (hence the name, stlCLR). It is 100% managed.
dkellyb717
 
Posts: 2
Joined: Mon Mar 07, 2011 4:17 pm

Postby Brian Donahue » Tue Mar 08, 2011 6:58 pm

Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Tue Mar 08, 2011 7:03 pm

Okay, fair enough Reflector shows a CLI header, etc. Don't trust everything you read on the Internet.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby Brian Donahue » Wed Mar 09, 2011 10:58 am

I have logged a bug about this: CE-312. This error message doesn't make a lot of sense given Reflector can find the method.
Brian Donahue
 
Posts: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby yaosen » Mon Mar 19, 2012 11:22 am

Okay, fair enough Reflector shows a CLI headerImage
.
yaosen
 
Posts: 2
Joined: Mon Mar 19, 2012 11:19 am


Return to Exception Hunter 2

Who is online

Users browsing this forum: No registered users and 1 guest