views:

18

answers:

2

I compiled my C++ project under release mode in Visual Studio 2008. My development OS is Windows XP. The compilation works fine. But when I try to register the Dll using regsvr32 on another machine, which is a Windows 7, this error appear:

dllunregisterserver failed with error code 0x80070005

Anyone call tell me what is wrong?

+1  A: 

Did you even try searching on the Internet first? A quick search brought up several results, such as this one:

The error value ‘0x80070005’ means ‘Access Denied’.

This means that an attempt has been made to update part of the registry that you do not have permissions to update.

Check that you have local administration rights.

casablanca
thanks guys! i right click on the command prompt icon, and select Run as admin.
karikari
+1  A: 

You don't have administrative rights?

ssianky