Export (0) Print
Expand All
Expand Minimize
8 out of 68 rated this helpful - Rate this topic

Troubleshooting Exceptions: System.IO.IOException

A IOException is thrown when an I/O error, such as failing to read from or write to a file, occurs.

Make sure the file and directory exist.

Verify that the directory you are trying to read from/write to exists. Verify that the file you are trying to read from exists.


IOException is the base class for exceptions thrown while accessing information using streams, files and directories.

The Base Class Library includes the following types, each of which is a derived class of IOException:

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.