Click here to Skip to main content
15,881,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone,
I am stuck into a problem i need some help or some directions.Actually i am Working on SSIS(Sql Server intergration Service) where i am calling WCF to get data(calling a function which is returning me generic list) i am serializing that list but i am getting this, error

[Script Component [6]] Error: System.InvalidOperationException: There was an error generating the XML document. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterVirtualCatalog' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationWriterVirtualCatalog..cctor()
--- End of inner exception stack trace ---

i am using XMLSerializer. So tell me where is the exact problem and how to fix it.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900