Recent Posts:



Get Email Updates:
Enter your email address:

Sunday, 21 February 2010

IIS AspNetHostingPermission exception in Windows 7:

When loading any site, you receive the following error:

Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

In 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

Newer›  ‹Older