Hi to all,

my idea is this: I have a console that:
- creates a class Goofy at runtime (!!!)
- set its property with some values,
- serializes this class Goofy,
- save it in a field of a table as varbinary(max)
, and that work very fine!

The problem is this: I have another console that could do the inverse
work, but when I go to deserialize the StremMemory comes to table, it
returns an exception like this:  "Could not load type Goofy required
for deserialization"

That's right, cause the code would be something like:
   object newGoofy = (Goofy) binaryFormatter.Deserialize(new
System.IO.MemoryStream((byte[]) row["FieldGoofy"]));

...and it doesn't know the type "Goofy", BUT I can see that at least
it recognizes the word "Goofy" in byte array...

I'm sure that a solution exist... any idea, please ?
Tnx 1000

-- 
You received this message because you are subscribed to the Google
Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML
Web Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en
or visit the group website at http://megasolutions.net

Reply via email to