Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 31st, 2009, 02:10 AM
Registered User
Join Date: Mar 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error During Binary Deserialize - URGENT

Hi All ,

When I attempt to deserialize a stream , I receive the error stating " No map for object 67108864 " .

The Code:


list<String> m_QueryList = new list<string>
string str = "some Text";

Stream stream = File.Open(e.FullPath, FileMode.Open);
binFormater.Serialize(stream, m_QueryList);

Deserialize :

Stream stream = File.Open(e.FullPath, FileMode.OpenOrCreate);
m_recvdList = (List<string>)binFormater.Deserialize(stream);

Could someone kindly help me fix this error .

Thanks and Regards,
Old April 3rd, 2009, 10:11 AM
Authorized User
Join Date: Nov 2006
Posts: 93
Thanks: 0
Thanked 1 Time in 1 Post

Hi Prashanthks,

It would be hard for me to duplicate your problem here as some key parts of your code are missing. Most notably, what class is "binFormater"?

On the other hand, there are other ways to read and write to a text file if that is what you are trying to do. For instance try using the StreamReader and StreamWriter classes.
What you don\'t know can hurt you!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Deserialize from method information in .NET C# DGallo C# 1 September 13th, 2007 09:56 PM
Urgent...need help fixing this error! riki_gill ASP.NET 1.x and 2.0 Application Design 0 October 27th, 2006 08:23 AM
Urgent getting Error while using SqlDataReader hums ADO.NET 2 September 29th, 2004 10:03 AM
Urgent Error in sending mail qazi_nomi Classic ASP Components 1 June 11th, 2004 02:49 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.