Sunday, May 23, 2010

Dotnetnuke System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission

 

I got this error when I try to install Dotnetnuke 05.04.02 on my computer on Wndows 7 and IIS7. There was no proper solution for this on the web, but I just change the application pool identity to NetworkService and application worked as expected.

Steps :
Go to IIS and select Application Pools.
Select the DNN web pool on right hand pane.
On Actions press Set Application Pool Default link.
Change the Identity under Process Model to NetworkService

ApplicationPool

1 comments:

Christian said...

Thank you. Worked as a charm!

My Achievements

Member of

Blog Archive

Followers

free counters