2008-05-27, 12:41 PM
I get the following error when I try to log into EWA since I upgraded gbpvr to 1.2.13. I found that I was running version 74 of EWA so I upgraded to build 76 and I'm still getting this error. I'm using IIS and I've given full control to Everyone to the gbpvr directory (temporarily) and still get the error. Any suggestions?
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:
Line 492: if (!reload && (configWeb != null)) return;
Line 493:
Line 494: Logger.Verbose("RecorderHelperConfig: LoadFromFile()");
Line 495:
Line 496: configWeb = new XmlDocument();
Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs Line: 494
Stack Trace:
[SecurityException: Requested registry access is not allowed.]
System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) +48
Microsoft.Win32.RegistryKey.InternalOpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck, Int32 rights) +246
Microsoft.Win32.RegistryKey.OpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck) +35
GBPVR.Public.Logger.LogMessage(Int32 level, String message) +638
GBPVR.Public.Logger.Verbose(String message) +12
gbweb.Settings.LoadFromFile(Boolean reload) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:494
gbweb.Settings.GetSetting(Object moduleObject, String settingName) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:443
gbweb.Settings.Load() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:149
gbweb.Settings..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:141
gbweb.Global..cctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:40
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:
Line 492: if (!reload && (configWeb != null)) return;
Line 493:
Line 494: Logger.Verbose("RecorderHelperConfig: LoadFromFile()");
Line 495:
Line 496: configWeb = new XmlDocument();
Source File: c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs Line: 494
Stack Trace:
[SecurityException: Requested registry access is not allowed.]
System.ThrowHelper.ThrowSecurityException(ExceptionResource resource) +48
Microsoft.Win32.RegistryKey.InternalOpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck, Int32 rights) +246
Microsoft.Win32.RegistryKey.OpenSubKey(String name, RegistryKeyPermissionCheck permissionCheck) +35
GBPVR.Public.Logger.LogMessage(Int32 level, String message) +638
GBPVR.Public.Logger.Verbose(String message) +12
gbweb.Settings.LoadFromFile(Boolean reload) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:494
gbweb.Settings.GetSetting(Object moduleObject, String settingName) in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:443
gbweb.Settings.Load() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:149
gbweb.Settings..ctor() in c:\Program Files\devnz\gbpvr\web\App_Code\classes\Settings.cs:141
gbweb.Global..cctor() in c:\Program Files\devnz\gbpvr\web\App_Code\Global.asax.cs:40