Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / December 2004

Tip: Looking for answers? Try searching our database.

System.Runtime.Serialization.SerializationException

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dan - 26 Dec 2004 22:39 GMT
I am trying to write an app that uses serialization however I'm getting an
error 'System.Runtime.Serialization.SerializationException occurred in
mscorlib.dll

Additional information: BinaryFormatter Version incompatibility.  Expected
Version 1.0 Received Version 1008738336.1684104552.  

Can somebody help me on this?
Signature

Dan

Joyjit Mukherjee - 27 Dec 2004 05:20 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.