Error in Deserialization

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have this error, what it means

"An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dl

Additional information: Exception has been thrown by the target of an invocation."
 
If you are deserializing your own classes, check if you have implemented parameterless constructor. It is crucial for deserialization. Even if using XML.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top