Red Gate forums :: View topic - Unable to load Microsoft.VisualC.STLCLR.dll
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Exception Hunter 2
Exception Hunter 2 forum

Unable to load Microsoft.VisualC.STLCLR.dll

Search in Exception Hunter 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
dkellyb717



Joined: 07 Mar 2011
Posts: 2

PostPosted: Mon Mar 07, 2011 4:38 pm    Post subject: Unable to load Microsoft.VisualC.STLCLR.dll Reply with quote

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.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6669

PostPosted: Tue Mar 08, 2011 6:53 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
dkellyb717



Joined: 07 Mar 2011
Posts: 2

PostPosted: Tue Mar 08, 2011 6:57 pm    Post subject: Reply with quote

You are incorrect. STLCLR is the managed implementation of STL for the Common Language Runtime (hence the name, stlCLR). It is 100% managed.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6669

PostPosted: Tue Mar 08, 2011 6:58 pm    Post subject: Reply with quote

Not what an expert in the field says.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6669

PostPosted: Tue Mar 08, 2011 7:03 pm    Post subject: Reply with quote

Okay, fair enough Reflector shows a CLI header, etc. Don't trust everything you read on the Internet.
Back to top
View user's profile Send private message
Brian Donahue



Joined: 23 Aug 2004
Posts: 6669

PostPosted: Wed Mar 09, 2011 10:58 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
yaosen



Joined: 19 Mar 2012
Posts: 2

PostPosted: Mon Mar 19, 2012 11:22 am    Post subject: Reply with quote

Okay, fair enough Reflector shows a CLI header
.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group