Denied Acces to HKEY_CLASSES_ROOT\Record when Regasming

  • Thread starter Thread starter richard.Anaya
  • Start date Start date
R

richard.Anaya

I require some help with an issue with Microsoft .NET. Some users
experience a problem with their installation of our product and the
registration of some classes with regasm (so COM can have access to
them). They get the error message:

Additional information: Access to the registry key
HKEY_CLASSES_ROOT\Record
is denied.

Our current hack around this is an attempt to change registry
permission settings *sigh* I know, this didn't work in all cases but
this is leading us down a path of changing Adminstrator permissions on
several levels of registries. Is this a known problem? I've seen
articles out on Google that just end off in "do you have administrator
permissions?" Is Microsoft installing core library foundations without
the capabilities to use them?

- Richard
 
I have a similar problem while trying to register a COM exposed .NET dll.
While regitering it with REGASM, I am getting the following error:
 
I am also facing the same problem.

Actually i am working on one application in .NET 2005 using C#. This application uses C++ unmanged code. This unmanged code calls functions of managed code. I have done this work by refering this MSDN site: http://support.microsoft.com/kb/828736. The machine that i am using has admin rights. The application runs fine at my machines as well as other machines those have admin rights. But when i build application at machine that does not have admin rights then two error occurs which says:

1. RegAsm : error RA0000 : An error occurred while writing the registration information to the registry. You must have administrative credentials to perform this task. Contact your system administrator for assistance
2. Project : error PRJ0019: A tool returned an error code from "Performing Pre-Link Event..."


If i make installer of this application then it installs & works properly at machine that has admin right. But when i run the application at machine that do not have admin right then application does not run. I could not find what is happening.

Could any one please help me? It is very urgent. Any help would be highly appreciable.

Thanks in advance.

Regards,

Rajendra Sing

From http://www.google.co.in/search?hl=e...r+assistance+++RegAsm&btnG=Google+Search&meta

Posted via DevelopmentNow.com Group
http://www.developmentnow.com
 
Generally, your choices are to run as administrator, or use only keys under
HKEY_CURRENT_USER, which are normally read/write. Installers are (I believe)
always running under admin preveledges to install. An application may read
from
other branches as necessary.
 
Back
Top