Suzanne Cook's .NET CLR Notes

Common Language Runtime Developer

June, 2004

  • Suzanne Cook's .NET CLR Notes

    Debugging an InvalidCastException

    • 11 Comments
    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...
Page 1 of 1 (1 items)