Xml serialization of enums - System.InvalidOperationException

added by jack.niu
3/15/2010 11:40:46 PM

155 Views

A few days ago I was writing a web service when all of a sudden a test failed on me with: System.InvalidOperationException: Instance validation error: '3' is not a valid value for SomeEnumInMyApp which turned out to be quite a google-unfriendly exception.


0 comments