Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

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
04:50, 28 Apr 2017

Tags

Classifications

Public