You need to grant the application pool identity, which is likely to be NETWORK SERVICE, access to C:\Domains\mywebsite.com\wwwroot\pictures folder. As indicated in the error message, do the following:
medi_s9
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
Explorer refers to Windows Explorer, not Internet Explorer...
Thanks
Carsten
Please click Mark as Answer if this post is of help to you. :-)
integrasol
Star
12156 Points
2355 Posts
Re: Access to the path is denied exception during fileupload.saveas
Dec 06, 2009 11:23 AM|LINK
You need to grant the application pool identity, which is likely to be NETWORK SERVICE, access to C:\Domains\mywebsite.com\wwwroot\pictures folder. As indicated in the error message, do the following:
Explorer refers to Windows Explorer, not Internet Explorer...
Carsten
Please click Mark as Answer if this post is of help to you. :-)
My Blog