If you get an error something like this...
"Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
when you set up a fresh installation of BlogEngine.net on IIS7, the fix is to set "Load User Profile" in the website's IIS Advanced Settings pane to True.
The full error is...
Server Error in '/' Application.--------------------------------------------------------------------------------
Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your s...
[More]