[Repost, MVP please have a look] Serialization exception with ServerIdentity

J

Joannes Vermorel

I am having a serialization problem with a simple piece of code (short &
complete) available at http://www.vermorel.com/opensource/NGridBugDemo.cs .
When I run this code, I get a SerializationException ("ServerIdentity is not
marked as serializable"). This is very bizarre since ServerIdentity is
supposed to be serializable (have a look a Rotor,
http://www.123aspx.com/rotor/RotorSrc.aspx?rot=41866).

This problem is a trully annoying one. Is this a bug of the .Net Framework ?
Otherwise what's wrong with my code ?

Thanks in advance,
Joannes

Ps1: This message is a repost (previous post was June 27). I did not get any
feedback and I am still completely stuck with this issue.
Ps2: With VS2005 beta, this code throws a NullReferenceException. With Mono.
I get a NotImplementedException.
 
J

Joannes Vermorel

I searched the net and found a couple threads with ppl
having the same problem you had, try searching googles
groups with "ServerIdentity serialization" and you will find 3-4
links to different ppl... Try contacting them, maybe they found the
solution :)

Actually, when I search "ServerIdendity serialization" on google groups I
got 5 results. Two of those are actually my own posts, two others are
unrelated problems. The last one seems similar to my problem. But no
solution have been proposed.

Anyone has an idea ? Is this a known issue for MS ?

Joannes
 
Top