Error: Requested registry access is not allowed

Modified on Fri, 18 Feb, 2022 at 1:51 PM

Error details:

Detailed technical information follows: 
---
(Inner Exception)
Date and Time:         <Date>
Machine Name:          <ComputerName>
IP Address:            <IP>
Current User:          <UserName>

Application Domain:    C:\Program Files\eformity\Microsoft Office Add-In\
Assembly Codebase:     file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Assembly Full Name:    mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Assembly Version:      4.0.0.0

Exception Source:      mscorlib
Exception Type:        System.Security.SecurityException
Exception Message:     Requested registry access is not allowed.
Exception Target Site: ThrowSecurityException

---- Stack Trace ----
   System.ThrowHelper.ThrowSecurityException(resource As ExceptionResource)
       mscorlib.dll: N 0016 (0x10) IL 
   Microsoft.Win32.RegistryKey.OpenSubKey(name As String, writable As Boolean)
       mscorlib.dll: N 0000 (0x0) IL 
   AddinExpress.Projects.Common.ADXRegistry.OpenKey(name As String, writable As Boolean)
       mscorlib.dll: N 0192 (0xC0) IL 

(Outer Exception)
Date and Time:         <Date>
Machine Name:          <ComputerName>
IP Address:            <IP>
Current User:          <UserName>

Application Domain:    C:\Program Files\eformity\Microsoft Office Add-In\
Assembly Codebase:     file:///C:/Program Files/eformity/Microsoft Office Add-In/AddinExpress.MSO.2005.DLL
Assembly Full Name:    AddinExpress.MSO.2005, Version=10.1.4701.0, Culture=neutral, PublicKeyToken=4416dd98f0861965
Assembly Version:      10.1.4701.0

Exception Source:      AddinExpress.MSO.2005
Exception Type:        System.Exception
Exception Message:     OpenKey failed.
Exception Target Site: OpenKey

---- Stack Trace ----
   AddinExpress.Projects.Common.ADXRegistry.OpenKey(name As String, writable As Boolean)
       AddinExpress.MSO.2005.DLL: N 0292 (0x124) IL 
   AddinExpress.MSO.ADXAddinModule.AddinExpress.MSO.IDTExtensibility2.OnStartupComplete(custom As Array&)
       AddinExpress.MSO.2005.DLL: N 1454 (0x5AE) IL 


This problem can occur if a computer previously had a 64-bit Office installed, but was later replaced by a 32-bit version, and using the preview function in Windows Explorer. 


Removing the 64-bit version of Office will not properly remove all registry values, resulting in this error. 


To resolve this issue, delete the following registry keys: 

HKEY_CLASSES_ROOT\CLSID\{00020827-0000-0000-C000-000000000046}
HKEY_CLASSES_ROOT\CLSID\{65235197-874B-4A07-BDC5-E65EA825B718}
HKEY_CLASSES_ROOT\CLSID\{84F66100-FF7C-4fb4-B0C0-02CD7FB668FE}

It is recommended to make a backup first.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article