XML Serialization error-- pinpointing source?

  • Thread starter Thread starter Dave Veeneman
  • Start date Start date
D

Dave Veeneman

I'm using XML Serialization on a class hierarchy headed by a Project Class.
When I attempt to serialize, I get an InvalidOperationException from
system.xml.dll with the explanation that there was an error reflecting the
Project type.

Is there a way to get any more information about this error? I'm not sure
whether it's occuring in the Project class or in one of the contained
classes. And I can't tell what's causing the exception. Thanks for your
help.

Dave Veeneman
Foresight Systems
 
This may be a security issue, that error often pops up if you try to
serialize a type that has any declarative security.

What security policy is your code running under?

Dave.
 

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