SecurityException: Requested registry access is not allowed
Hi everyone,
I'm running into an issue with registry access on a web app that I am running under IIS (Version 7.5.7600.16385). I'm hoping that someone else might have already resolved this issue and can share their resolution. I'm using FastReport.net V 2014.1.2.0. It appears that FastReport library is attempting to read Locale information from the registry and doesn't have sufficient permissions. The stack trace that I receive is:
[SecurityException: Requested registry access is not allowed.]
StackTrace:
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at FastReport.Utils.Res.get_LocaleFolder()
at FastReport.Utils.Res.LoadDefaultLocale()
at FastReport.Utils.Config.LoadConfig()
at FastReport.Utils.Config.Init()
I can tell that it is attempting to read the LocalizationFolder string from HKEY_CURRENT_USER\Software\FastReports\FastReport.Net. I've created that key for both the user logged in via the web app and the user which the app pool is running under with no success. IIS is running on Windows Server 2008R2 Standard.
Has anyone else encountered this issue ? Any information would definitely be appreciated.
Thanks in advance -- Jeff Gaiche
I'm running into an issue with registry access on a web app that I am running under IIS (Version 7.5.7600.16385). I'm hoping that someone else might have already resolved this issue and can share their resolution. I'm using FastReport.net V 2014.1.2.0. It appears that FastReport library is attempting to read Locale information from the registry and doesn't have sufficient permissions. The stack trace that I receive is:
[SecurityException: Requested registry access is not allowed.]
StackTrace:
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at FastReport.Utils.Res.get_LocaleFolder()
at FastReport.Utils.Res.LoadDefaultLocale()
at FastReport.Utils.Config.LoadConfig()
at FastReport.Utils.Config.Init()
I can tell that it is attempting to read the LocalizationFolder string from HKEY_CURRENT_USER\Software\FastReports\FastReport.Net. I've created that key for both the user logged in via the web app and the user which the app pool is running under with no success. IIS is running on Windows Server 2008R2 Standard.
Has anyone else encountered this issue ? Any information would definitely be appreciated.
Thanks in advance -- Jeff Gaiche
Comments