I got this error
ReadTimeout = \'((System.IO.Stream)(ms)).ReadTimeout\' threw an exception of type \'System.InvalidOperationException\'.
M
You should be careful about the type of image in database, if your image is too big then you must use LONGBLOB and not BLOB.