Sunday, 21 February 2010
ProblemWhen loading any ASP.net site, you receive the following error:
Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.SolutionIn IIS set the Application Pool setting,
Load User Profile to "True".
In IIS, click
Application Pools:

Under the Actions side menu, click
Set Application Pool Defaults...:

In Application Pool Defaults, set Local User Profile to "True" and click
OK