I have a customer wich have their users with a very restricted rights and the Security Editor form is trying to access the HKEY_LOCAL_MACHINE in the SaveSizeAndLocation() and this key is not allow for the users.
Here is the Stack, and I am using the latest beta:
UnauthorizedAccessException
Access to the registry key 'HKEY_LOCAL_MACHINE\Software\MicroFour\Security\Editor\UserEditor' is denied.
Source : mscorlib
Stack Trace:
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistrySecurity registrySecurity)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.Win32.Registry.SetValue(String keyName, String valueName, Object value, RegistryValueKind valueKind)
at MicroFour.StrataFrame.Win32.RegistryRepository.WriteValue(String KeyPath, String ValueName, Int32 Value)
at MicroFour.StrataFrame.Win32.RegistryRepository.WriteValue(String ValueName, Int32 Value)
at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.SaveSizeAndLocation()
at MicroFour.StrataFrame.UI.Windows.Forms.BaseForm.OnFormClosing(FormClosingEventArgs e)
at System.Windows.Forms.Form.CheckCloseDialog(Boolean closingOnly)