473,396 Members | 2,033 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,396 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 4665
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'...
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: 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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.