Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to grant write access to a folder in ASP.NET MVC site with IIS7?

Tags:

asp.net-mvc

As the title says.

Can some give me instructions how to do this as I cannot see how. I am used to IIS5 & 6.

Also when I try to add write access to the folder in explorer there is no Add option to add a user ie ASPNET account.

This is on Vista

Malcolm

like image 925
Malcolm Avatar asked Dec 30 '22 14:12

Malcolm


2 Answers

You need to grant access to the IIS_USRS group (for the AppPool) and the IUSR user (for anonymous access / static content).

like image 58
Richard Szalay Avatar answered Jan 18 '23 22:01

Richard Szalay


IIS 6 and IIS 7 are using NETWORK SERVICE as account for access to the system resources. You need to give rights to this account

like image 21
Sly Avatar answered Jan 18 '23 22:01

Sly