ASP.NET permissions issues

Posted by Paul on Stack Overflow See other posts from Stack Overflow or by Paul
Published on 2010-04-21T21:18:06Z Indexed on 2010/04/21 21:23 UTC
Read the original article Hit count: 139

Filed under:

Im using Windows Server 2008, IIS7, .NET 4 and when I use the FileUpload control to save a file to a directory I get :

Access to the path 'C:\xxx\Websites\CMS\Admin\test' is denied.

I have given the test folder full control permissions for NETWORK SERVICE but it makes no difference.

I have given full control to the Everyone user but makes no difference.

It might have something to do with the fact that up in the CMS folder there is a MVC web application and in the CMS\Admin folder there is a web forms web application. It is the web forms web application that is trying to upload the file and getting the permissions error.

Can anyone offer a suggestion.

© Stack Overflow or respective owner

Related posts about ASP.NET