Error: System.UnauthorizedAccessException: Access to the path...
Posted on 2005-05-02
I have purchased a asp script that automatically resizes images that have been uploaded to the server. The image uploads to the server with no problems. But when the new script I purchase tries to access the script I get this error:
Error: System.UnauthorizedAccessException: Access to the path "D:\CSI Web Sites\cfsvending.com\new\employee\images\test.jpg" is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String str) at System.IO.File.Delete(String path) at _ASP.ResizeImage_aspx.Page_Load(Object s, EventArgs e)
This script has great reviews and several comments from people saying that it works flawlessly. So I have to believe it is a permission problem somewhere. Any help would be greatly appreciated. I consider this to be very urgent as I'm trying to finish up this project for a client by a deadline that we have committed to.