Wednesday, June 9, 2010

System.Web.AspNetHostingPermission on IIS7 Win 7

I had downloaded one of the open source and trying out something. When I started application, it was throwing a security error. Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

I checked folder permission and allowed fulltrust permission etc. Even then I was keep getting the same error. After a while found that IIS application pool “Load User Profile” was set to false. After setting that value to true, the problem got fixed.

Details on "load user profile" can be found at

No comments:

Post a Comment