Denied Acces to HKEY_CLASSES_ROOT\Record when Regasming

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
 
G

Guest

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:
 
R

Rajendra

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
 
F

Family Tree Mike

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top