dllunregisterserver failed with error code 0x80070005

1

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?

visual-studio
asked on Stack Overflow Sep 28, 2010 by karikari

2 Answers

4

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.

answered on Stack Overflow Sep 28, 2010 by casablanca
0

If you want your dll to be registered only at user level. change Per-user redirection to 'Yes' then your dll will be able to registered for non admin users also.

Go To Project Properties->Linker->Genral->Per-user redirection. to Yes

answered on Stack Overflow Mar 15, 2018 by lokee

User contributions licensed under CC BY-SA 3.0