ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.The process cannot access the file D:MainPicturesimage.jpg because it is being used by another p<p>You need to write the code in Using block</p> <p>Refer this link which is having the same issue.</p> <p><a href="http://stackoverflow.com/questions/12226179/web-application-not-able-to-delete-files-for-read-write-enabled-folders-in-asp-n">http://stackoverflow.com/questions/12226179/web-application-not-able-to-delete-files-for-read-write-enabled-folders-in-asp-n</a></p> <p>Thank You.</p>https://www.aspforums.net:443/Threads/828585/The-process-cannot-access-the-file-DMainPicturesimagejpg-because-it-is-being-used-by-another-p/https://www.aspforums.net:443/Threads/828585/The-process-cannot-access-the-file-DMainPicturesimagejpg-because-it-is-being-used-by-another-p/Wed, 23 Apr 2014 07:02:46 GMT