|
-
Mar 11th, 2006, 11:01 PM
#1
Thread Starter
PowerPoster
serialize/deserialize problem [UnResolved]
Hi!
ok, new to this. awesome stuff!
I am basically serializing objects in xml from a Server app to a client app. the client app takes this xml serialized object and deserializes it.
yes, both ends have the EXACT SAME class I am working with.
when the client tries to deserialize the object, I get an invalidoperationexception (nullreference) - no idea why.
this is the stack trace:
System.InvalidOperationException was unhandled
Message="An error message cannot be displayed because an optional resource assembly containing it cannot be found"
StackTrace:
at System.Xml.Serialization.XmlSerializer.Deserialize()
at System.Xml.Serialization.XmlSerializer.Deserialize()
at System.Xml.Serialization.XmlSerializer.Deserialize()
at SomeApp.IncomingData.DoHandleIncomingXml()
at SomeApp.IncomingData.DoAnalyzeData()
at SomeApp.Communication.DoListenToIncomingPort()
I have only chosen to serialize some properties but not all, however this should be ok no?
This problem has been resolved, this is the new problem:
how do you read a string into a stream in order to pass it to the deserializer? Opening and writing to a file is not an option unfortunatly
Last edited by Techno; Mar 12th, 2006 at 08:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|