Search   Feed   Browse   Add
Feed items 1 - 1 of 1 for June 2004

Suzanne Cook's .NET CLR Notes

Common Language Runtime Developer

Debugging an InvalidCastException - June 3, 2004

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 for those two types are loaded from different locations and in the same appdomain. (The actual cast is done in just one appdomain, even if the exception happens when...
http://blogs.msdn.com/suzcook/archive/2004/06/02/debugging-an-invalidcastexception.aspx
Available Archives
- February (1 item)
- March (1 item)
- May (1 item)
- June (1 item)
- August (1 item)
- October (1 item)
Sponsored Links
© 2008 FeedCapsule.com  |  Contact