473,378 Members | 1,122 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Unregister dll fails

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
Nov 16 '05 #1
1 4660
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

"jazzman" <an*******@discussions.microsoft.com> wrote in message
news:06****************************@phx.gbl...
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

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Ricky Jones | last post by:
Is there any way to unregister a ActivatedClientType? thanks, Ricky Jones
0
by: jazzman | last post by:
Hi, I have an MMC snap-in dll project, which I have just upgraded from visual studio 6 to visual studio .NET. Everything works fine, apart from when I try and unregister the dll using regsvr32...
0
by: Howard Kaikow | last post by:
Today, I constructed the step by step example in KB article 302896, "HOW TO: Build an Office COM Add-in by using Visual Basic .NET. No problem doing this and, as expected, the add-in worked with...
3
by: Oskar Vaia | last post by:
Hy, i have build an Outlook COM-Add-In with VB.NET. It works fine. Now i want to unregister the COM-Add-In. How can i effort this? It is not possible to do this with the...
6
by: kenneth fleckenstein nielsen | last post by:
Hi guru's It runs ok on my developmaschine, and on the test server that i've set up. but fails after installing on the customers server. I made a XML webservice that does these steps: a) access a...
12
by: Jim Rodgers | last post by:
I have a big asp file that has an error under certain conditions -- totally repeatable. However, it only fails when I set response.buffer = True at the top. WHen I set it False in order to debug...
1
by: CodeRazor | last post by:
Hi, I need to be able to register client script within a web user control. I then need to unregister it. How can I do this. I cannot find an unregister method..... Many thanks, coderazor
3
by: =?Utf-8?B?UmljaA==?= | last post by:
I created a custom dll to use .net objects in com environment. It works fine. Then I copied the dll to another workstation and manually registered it, and it works fine there also. Now I need to...
0
by: Laila2008 | last post by:
Hi, I need to add a 'WebDialog' component on to a webpage everytime a user clicks on a button. This is the error I'm getting: Cannot unregister UpdatePanel with ID 'dialog0_UpdateContainer'...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.