win2008 r2 IIS7.5 - setting up a custom user for an application pool, and trust issues
Posted
by Ken Egozi
on Server Fault
See other posts from Server Fault
or by Ken Egozi
Published on 2010-05-10T07:39:21Z
Indexed on
2010/05/10
7:44 UTC
Read the original article
Hit count: 552
Scenario:
- blank win2008 r2 install
- the goal was to have a couple of sites running with isolated pool and dedicated users
- A new folder for a new website - c:\web\siteA\wwwroot, with the app (asp.net) deployed there in the /bin folder
- created a user named "appuser" and added it to the IIS_USERS group
- gave the website folder read and execute permissions for IIS_USERS and the appuser
- created the IIS site. set the app=pool identity to the appuser
- now I'm getting YSOD telling me that the trust-level is too low -
SecurityException: That assembly does not allow partially trusted callers
- Added
<trust level="Full" />
on the web-config, did not help - changing the app-pool user to Administrator makes the site run
- Setting "anonymous user identity" to either IUSR or the app pool identity makes no difference
any idea?
is there a "step by step" howto guide for setting up users for isolated app pools on IIS7.5?
© Server Fault or respective owner