Sign in
Suzanne Cook's .NET CLR Notes
Common Language Runtime Developer
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Tags
Loader Debugging Advice
Loader Info
Browse by Tags
MSDN Blogs
>
Suzanne Cook's .NET CLR Notes
>
All Tags
>
loader debugging advice
Tagged Content List
Blog Post:
Debugging an InvalidCastException
Suzanne Cook
First, obviously, find the two types for which the cast failed and verify that they are the same type or otherwise castable. Next, if the type was just deserialized, also verify that its assembly successfully loaded in the target appdomain. If everything seems fine, check to see if the assemblies...
on
2 Jun 2004
Blog Post:
Debugging a MissingMethodException, MissingFieldException, TypeLoadException
Suzanne Cook
Say you've just installed some assemblies from a third party and now you're seeing a MissingMethodException, MissingFieldException, or TypeLoadException (during the run of an application using those assemblies). Below are the common causes. Loading failures First, check for assembly binding failures...
on
13 Feb 2004
Blog Post:
Where to Find Technical Support
Suzanne Cook
Microsoft's official support website is http://support.microsoft.com/ . It has all kinds of resources like product FAQs, downloads, searchable KB articles, newsgroup pointers, and ways to reach people to help with your individual needs or feedback. Unfortunately, I can't give attention to individual...
on
5 Dec 2003
Blog Post:
Determining the Referencing Assembly
Suzanne Cook
Say you're debugging your application and you see that version 1.0 of an assembly is being loaded when you thought it should be version 2.0. Where is the reference to 1.0 coming from? The easiest way to find out is to look at the Fusion log for this bind. If the version 1.0 assembly was successfully...
on
15 Nov 2003
Blog Post:
ReflectionTypeLoadException
Suzanne Cook
If a type can't be loaded for some reason during a call to Module.GetTypes(), ReflectionTypeLoadException will be thrown. Assembly.GetTypes() also throws this because it calls Module.GetTypes(). The Message for this exception is "One or more exceptions have been thrown while loading the types" or...
on
11 Aug 2003
Blog Post:
Debugging Assembly Loading Failures
Suzanne Cook
So...you're seeing a FileNotFoundException, FileLoadException, BadImageFormatException or you suspect an assembly loading failure? Try the steps below to start your debugging process. First, get the Message property from the exception. If the exception's InnerException property is set, get the Message...
on
29 May 2003
Page 1 of 1 (6 items)