Invalid attempt to call Read when reader is closed.

Error

Object reference not set to an instance of an object.