System.Security.SecurityException: Requested registry access is not allowed.
Hi,
I get a "System.Security.SecurityException: Requested registry access is not allowed" message when I try to access the Gemini Web App for the first time. I've tried setting various permissions in the registry as suggested in some posts I found while googling, to no avail. Has anyone else come across this error. The complete stack trace is below.
Thanks,
Ken
Server Error in '/Gemini' 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 system administrator or change the application's trust level in the configuration file.Exception Details: System.Security.SecurityException: Requested registry access is not allowed.
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: Requested registry access is not allowed.]
System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) +48
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +2781385
System.Security.Cryptography.Utils.get_FipsAlgorithmPolicy() +99
System.Security.Cryptography.RijndaelManaged..ctor() +10
System.Web.Configuration.MachineKeySection.ConfigureEncryptionObject() +388
System.Web.Configuration.MachineKeySection.EnsureConfig() +363
System.Web.Configuration.MachineKeySection.HashData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length) +36
System.Web.Security.CookieProtectionHelper.Encode(CookieProtection cookieProtection, Byte[] buf, Int32 count) +34
System.Web.Security.AnonymousIdentificationModule.GetEncodedValue(AnonymousIdData data) +240
System.Web.Security.AnonymousIdentificationModule.OnEnter(Object source, EventArgs eventArgs) +1329
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
kengineer
· 1 |
|
Monday, March 17, 2008, 3:51:03 PM |