Saturday, April 10, 2010

Exception Details: System.Security.SecurityException: Requested registry access is not allowed in ASP.NET

Exception Details: System.Security.SecurityException: Requested registry access is not allowed in ASP.NET


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 system administrator or change the application's trust level in the configuration file.


Solution - provide Full Trust to the application user account.
It may require you to go through application domain and check the user account under which the application is running may be your registry settings where your applications is searching.