HighTechTalks DotNet Forums  

Binary writer spurious IOException issue

Dotnet Framework microsoft.public.dotnet.framework


Discuss Binary writer spurious IOException issue in the Dotnet Framework forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Mike
 
Posts: n/a

Default Binary writer spurious IOException issue - 06-21-2006 , 04:19 PM






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


Reply With Quote
  #2  
Old   
Mike
 
Posts: n/a

Default Re: Binary writer spurious IOException issue - 06-21-2006 , 04:55 PM






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

Mike wrote:
Quote:
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


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.