Unregister dll fails

J

jazzman

Hi,
I have an MMC snap-in dll project, which I have just
upgraded from visual studio 6 to visual studio .NET.
Every works fine, apart from when I try and unregister
the dll using regsvr32 -u, I get:

DllUnregisterServer in MyOne.dll failed.
Return code was: 0x80070005

I have looked up this error and it is something to do
with access to the registry failing, though I am an
administrator, so am not sure that's the reason.

Anyone know why this might happen? Are there any new
proect properties I have to set in .NET to get this to
work (as it used to be fine)?

thanks,
jm
 
R

Ronald Laeremans [MSFT]

The unregistration code is just code in your DLL. You can use normal
debugging techniques to see where it fails.

Ronald Laeremans
Visual C++ team
 

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