TextFieldParser is unable to complete the read operation because maximum buffer size has been exceeded

The operation cannot be completed because the maximum buffer size (10,000,000 bytes) has been exceeded.

To correct this error

  • Make sure there are no malformed fields in the file.

See Also

Tasks

How to: Read From Text Files with Multiple Formats in Visual Basic

Reference

OpenTextFieldParser

TextFieldParser

Concepts

Parsing Text Files with the TextFieldParser Object (Visual Basic)