Author: krandall@randallnet.com | Posted on: 12/1/2009 3:39:48 PM | Views : 350

Hi,
I'm new and using:
Hosted server, IIS7, VWD for design.

Identity Impersonate not used.
Server: Enable Write Permissions, Allow Anonymous Access, Enable Integrated Windows Authentication all checked.
File permissions for Network Service and domain name set to Read & Write.


I'm trying to create a file upload button to upload file to a directory by using "myFile.PostedFile.SaveAs(Server.MapPath("~/uploaded" & strFileNameOnly))" and get an error: System.UnauthorizedAccessException: Access to the path 'C:\HostingSpaces\randalln\allenpublications.com\wwwroot\uploaded' is denied. ASP.NET is not authorized to access the requested resource.

I don't know how to grant ASP.NET access to a file. I don ...

Go to the complete details ...