Reputation: 25701
I get the following error:
ASP.NET is not authorized to access the requested resource. Consider granting access
rights to the resource to the ASP.NET request identity. ASP.NET has a base process
identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used
if the application is not impersonating. If the application is impersonating via
<identity impersonate="true"/>, the identity will be the anonymous user (typically
IUSR_MACHINENAME) orthe authenticated request user.
I have read that there is no ASPNET user in IIS 7. I have also added [Machine name]\IIS_IUSRS but still get the error. Which user do I need to add?
Upvotes: 0
Views: 5781
Reputation: 3236
Try IIS APPPOOL[apppoolname_without_spaces].
In IIS7 all your apppool work under AppPoolIdentity. For example Default App Pool will have user IIS APPPOOL\DefaultAppPool.
Upvotes: 1