Friday, May 11, 2012

Request for the permission of type 'System.Web.AspNetHostingPermission

I moved my asp.net app from a Win 2003 Server to a Win 2008 Server running IIS7 and I started getting Permission denied for "System.Web.AspNetHostingPermission" errors for my .ascx files.

Turns out that you have to set the "Load User Profile" for the specific application pool to True. That took care of the issue. 

No comments:

Post a Comment