atmosphere1212
Active member
- Joined
- Aug 31, 2004
- Messages
- 42
Hey
I have a bunch of code that works fine on my computer (which creates/writes to files, creates directories, ect) but when I try to do actions like these on my office network I get exceptions at sometimes where i shouldnt. For example, I when trying to set a files attribute on the network my program might ocasionally throw an exception. I think somethings happening on the network level, which i dont know much about. My idea is to encase all my System.IO calls in try blocks that are encased in a loop to retry if it fails. But my program uses alot of different IO Calls. Is there any way to figure out which ones could cause problems?
I have a bunch of code that works fine on my computer (which creates/writes to files, creates directories, ect) but when I try to do actions like these on my office network I get exceptions at sometimes where i shouldnt. For example, I when trying to set a files attribute on the network my program might ocasionally throw an exception. I think somethings happening on the network level, which i dont know much about. My idea is to encase all my System.IO calls in try blocks that are encased in a loop to retry if it fails. But my program uses alot of different IO Calls. Is there any way to figure out which ones could cause problems?