Hi all.
Trying to serialize and desirialize an object. the object is transfered as a
byte[] using a web service to the client. the client then has to deserialize
the byte[] to an object and work with it.
the object has a not-so-complicated graph constructed from several classes i
made and fields of mostly simple types (string, int, enums) and bitmaps.
I am getting an error on the client side saying "Object type cannot be
converted to target type."
I was afraid that since some of the properties are defined only as "get",
the formatter cant reconstruct object state. to verify that, I added a line
in the web service that desirializes the object too, and that works. seems
like the "traffic on the web" (lol) has damaged the object?
both web service and client use the same dll that holds the classes and the
same version.
any ideas?
thanx,
picho