ASP.Net IIS Error System.ObjectDisposedException: Cannot access a closed file

Sumeet
 
on Jun 19, 2019 02:56 AM
1916 Views

Sir,

When I am running application from visual studio it's uploading file from fileupload control properly. But when I am publishing it on IIS then while running it's giving me error as System.ObjectDisposedException: Cannot access a closed file.

Why?

Download FREE API for Word, Excel and PDF in ASP.Net: Download