You host your site on IIS7 / Windows 2008 and run into this error?
Solution:
Open the Advanced settings of your application pool..
Change “Load User Profile” to “True”
That solves the problem..
| Luke 2:11-14“Today in the town of David a Savior has been born to you; he is the Messiah, the Lord. This will be a sign to you: You will find a baby wrapped in cloths and lying in a manger.” Suddenly a great company of the heavenly host appeared with the angel, praising God and saying, “Glory to God in the highest heaven, and on earth peace to those on whom his favor rests.”” Brought to you by BibleGateway.com. Copyright (C) . All Rights Reserved. |
Technorati Tags: Description: The application attempted to perform an operation not allowed by the security policy.,To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.,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. Source Error:,An unhandled exception was generated during the execution of the current web request. Information regarding the origin,and location of the exception can be identified using the exception stack trace below.,Stack Trace:,[SecurityException:,Request for the permission of type,PublicKeyToken=b77a5c561934e089' failed.]

Hey,
ReplyDeleteYou have saved my lots of time.
Hii i am gettin the same error..
ReplyDeleteWhere will be this Application pool?
Thanks. Tried few things finally your solution solved my problem. gr8..
ReplyDelete