Author: norchnou | Posted on: 4/6/2008 9:38:13 AM | Views : 255

Hi

Here is the error message that it throws (I am with go daddy).

Access to the path 'd:\hosting\webname\Images\Autumn Leaves.jpg' is denied.

this is the file I am trying to upload.

Details of the error

System.UnauthorizedAccessException: Access to the path 'd:\hosting\webname\Images\Autumn Leaves.jpg' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properti ...

Go to the complete details ...