Hi,
Are you using Remoting ? It seems a incompatible formatter e.g. The client
is sending a Binary Formatted message, whereas the System is using a Soap
formatter. See more scenarios and their solution in
http://www.dotnet247.com/247reference/msgs/58/291433.aspx
regards
Joyjit
> I am trying to write an app that uses serialization however I'm getting an
> error 'System.Runtime.Serialization.SerializationException occurred in
[quoted text clipped - 4 lines]
>
> Can somebody help me on this?
Richard Blewett [DevelopMentor] - 27 Dec 2004 08:18 GMT
You are using the Binary formatter and deploying under ASP.NET is my guess. The problem is that the web server is returning an error (in the form of HTML) and the binary formatter tries to interpret this as a binary packet - hence the weird version number. I wrote a channel sink to help diagnose these poroblems [1]
[1] http://www.dotnetconsult.co.uk/weblog/PermaLink.aspx/827189d3-ee0e-444f-b01d-bf9
ce9f70f5c
Regards
Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk
Hi,
Are you using Remoting ? It seems a incompatible formatter e.g. The client
is sending a Binary Formatted message, whereas the System is using a Soap
formatter. See more scenarios and their solution in
http://www.dotnet247.com/247reference/msgs/58/291433.aspx
regards
Joyjit
"Dan" <Dan@discussions.microsoft.com> wrote in message
news:FC796A23-7D30-44D4-9356-16E69CC9D975@microsoft.com...
> I am trying to write an app that uses serialization however I'm getting an
> error 'System.Runtime.Serialization.SerializationException occurred in
[quoted text clipped - 6 lines]
> --
> Dan