Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Patch Manager > Patch Manager error: System.Security.SecurityException: Requested registry access is not allowed

Patch Manager error: System.Security.SecurityException: Requested registry access is not allowed

Updated April 25, 2017

Overview

The following error occurs when upgrading Patch Manager licenses using the SolarWinds License Manager:

*****************Exception Text******************

System.Security.SecurityException: Requested registry access is not allowed.

at System.ThrowHelper.ThrowSecurityException (ExceptionResource resource)

at Microsoft.Win32.RegistryKey.OpenSubKey (String name, Boolean writable)

at SolarWinds.Licensing.Gen4.Utils.RegistryUtil.GetKey (Region region, Boolean writable)

at SolarWinds.Licensing.Gen4.Store.RegistryAncillaryStore.GetKey (AccessMode mode, SubKey key)

at SolarWinds.licensing.Gen4.Store.RegistryAncillaryStore.set_LastContactDetails (UserDetailsData value)

at SolarWinds.Licensing.Gen4.Management.OnlineManagement.set_ContactInfo (UserDetailsData value)

at SolarWinds.Licensing.Gen4.UI.SaveLocalContactInfoForm.continueButton_Click (Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick (EventArgs e)

at System.Windows.Forms.Button.OnClick (EventArgs e)

at System.Windows.Forms.Control.WmMouseUp (MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp (Message& m, MouseButtons button, Int32 click)

at Systems.Windows.Forms.Control.WndProc (Message& m)

at Systems.Windows.Forms.ButtonBase.WndProc (Message& m)

at Systems.Windows.Forms.Button.WndProc (Message& m)

at Systems.Windows.Forms.Control.ControlNativeWindow.OnMessage (Message& m)

at Systems.Windows.Forms.Control.ControlNativeWindow.WndProc (Message& m)

at Systems.Windows.Forms.NativeWindow.Callback (IntPtr hWhnd, Int32 msg, IntPtr wparam, IntPtr Iparam)

The Zone of the assembly that failed was:

MyComputer

Environment

  • Patch Manager 2.1.3
  • License Manager

 

Cause 

The error is caused by insufficient permissions on the account to write to certain sections of the registry. This happens when the User Account Control (UAC) is enabled on the computer.

 

Resolution

Run the License manager using the Run as administrator option.

 

 

 

 

Last modified

Tags

Classifications

Public