TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
syn_ganeshv
NA
7
0
Deserialization throws "no top object" exception
Feb 15 2005 3:13 AM
Hi... When I try to Deserialize a stream of data to an object, it throws an exception "no top object". Any help? Its not reproducible always. The code(relevant portion) goes like this: public virtual ObjectGraph DeSerialize(MemoryStream memoryStream) { BinaryFormatter formatter = new BinaryFormatter(); try { memoryStream.Seek(0, SeekOrigin.Begin); ObjectGraph objectGraph = (ObjectGraph) formatter.Deserialize(memoryStream); return objectGraph; } catch { throw; } Any help will b greatful.. Thx in advance.. Ganesh.
Reply
Answers (
0
)
sending emails on behalf of
VB.net application that takes forever to load and run