I had a problem running an ASP.NET application (application Pool v4.0) on windows server 2008 IIS 7.5. I figured out that it's a permissions problem, but I couldn't find ASP.NET user group, so I granted NETWORK SERVICE and still it didn't work until I granted IIS_USERS permission to read/write and modify then it worked.
Why I can't find ASP.NET user group? and how can I add it if possible?
When you come to apply file and folder permissions you grant the Application Pool identity whatever rights are required. For example if you are granting the application pool identity for the ASP.NET v4.0
pool permissions then you can either do this via Explorer:
Click the "Check Names" button:
Or you can do this using the ICACLS.EXE
utility:
icacls c:\wwwroot\mysite /grant "IIS AppPool\ASP.NET v4.0":(CI)(OI)(M)
This is taken mostly from What are all the user accounts for IIS/ASP.NET and how do they differ?, so look at that for the full answer, but this section is pertinent to you.