Access to the registry key 'HKEY_CLASSES_ROOT\{MyProject}AddinModule' is denied

Add-in Express™ Support Service
That's what is more important than anything else

Access to the registry key 'HKEY_CLASSES_ROOT\{MyProject}AddinModule' is denied
 
Subscribe
Sébastien Lange




Posts: 25
Joined: 2022-09-21
Hi,

I have succesfully been able to start Visual Studio as Administrator to Register my project.

When I go back to my development project as my usual account (that does not have admin rights), I get this error when starting the project : Access to the registry key 'HKEY_CLASSES_ROOT\{MyProject}AddinModule' is denied

Does it mean all development should be done in VS run as administrator?!?

Best regards,
Sébastien
Posted 19 Oct, 2022 06:45:45 Top
Andrei Smolin


Add-in Express team


Posts: 18515
Joined: 2006-05-11
Hello Sébastien,

It isn't required for a per-user add-in but this is far more convenient to be able to start VS via Run as administrator. We describe this as follows:

For a non-admin user, it is possible to create a per-user Office extension, install or register it using e. g. "COM Add-ins" dialog box and then debug the add-in using menu Debug | Attach to Process in Visual Studio. Debugging a per-machine Office extension without administrative permissions is impossible.


Regards from Poland (CEST),

Andrei Smolin
Add-in Express Team Leader
Posted 20 Oct, 2022 06:48:08 Top