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 / June 2006

Tip: Looking for answers? Try searching our database.

Binary writer spurious IOException issue

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 21 Jun 2006 21:19 GMT
Greetings,

I have done some reading on the groups and understand that maybe there
are intermitent issues reading from and writing to files from the .NET
framework? In particular, receiving spurious IOExceptions. In our case,
we receive them utilizing "BinaryWriter(new FileStream())". Can anyone
confirm whether this is true? And if so, what might we do to circumvent
it? Of greater concern, if I do receive an exception, should we be
concerned about it and do anything in response? Such as, for example,
re-write the file in question? Please advise. Thanks much.

Regards,
Michael
Mike - 21 Jun 2006 21:55 GMT
Follow up,

Problem solved (I think)... It seems we were writing out to file in
rapid succession. If I understand the documentation regarding the
readers, writers and streams, it is likely that some static data could
have still been in use. I removed the redundant write and it seems to
be working now. Any additional insights are absolutely still welcome.
Thanks in advance.

Regards,
Michael

> Greetings,
>
[quoted text clipped - 9 lines]
> Regards,
> Michael

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.