Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / October 2003

Tip: Looking for answers? Try searching our database.

Assembly 'assemblyname' could not be uninstalled because it is required by other applications.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ice - 08 Sep 2003 21:35 GMT
All -

I just had to go through the painful process of manually deleting
directories via the command prompt.

Has anyone figured out what causes this problem and how it can be resolved?

Thanks.
ice
Tim Kurtzman - 18 Sep 2003 22:39 GMT
Assemblies get flagged as being 'special' when an installer program places
them in the GAC. The only way to remove them is to uninstall the program
that originally installed it into the GAC, or else manually delete them
like you have been doing.

Tim

--------------------
| From: "Ice" <ice@nospam.com>
| Subject: Assembly 'assemblyname' could not be uninstalled because it is
required by other applications.
| Date: Mon, 8 Sep 2003 15:35:17 -0500
| Lines: 11
[quoted text clipped - 18 lines]
| Thanks.
| ice
Ice - 19 Sep 2003 14:23 GMT
I didn't install the assemblies (or at least i don't think so) with MSI, I
just copied them into the GAC.

ice

> Assemblies get flagged as being 'special' when an installer program places
> them in the GAC. The only way to remove them is to uninstall the program
[quoted text clipped - 30 lines]
> | Thanks.
> | ice
Tim Kurtzman - 23 Sep 2003 23:06 GMT
How do you mean, you copied them? Did you use gacutil to put the assemblies
into the gac, or did you just "copy mydll.dll c:\windows\assembly\......"

If you are installing things into the GAC, you should always use gacutil
and not manually copying your files into the GAC..

Tim

--------------------
>From: "Ice" <ice@nospam.com>
>References: <#wJT4ikdDHA.2732@tk2msftngp13.phx.gbl>
<fRIck1ifDHA.1544@cpmsftngxa06.phx.gbl>
>Subject: Re: Assembly 'assemblyname' could not be uninstalled because it
is required by other applications.
>Date: Fri, 19 Sep 2003 08:23:21 -0500
>Lines: 48
[quoted text clipped - 48 lines]
>> | Thanks.
>> | ice
Ice - 26 Sep 2003 06:56 GMT
drag/drop some of them into the GAC - I thought that was an ok operation.  I
did also use gacutil to install a couple and I'm pretty sure I still had the
problem.

I will keep my eyes open, and see if this happens again.

ice
> How do you mean, you copied them? Did you use gacutil to put the assemblies
> into the gac, or did you just "copy mydll.dll c:\windows\assembly\......"
[quoted text clipped - 63 lines]
> >> | Thanks.
> >> | ice
Tim Kurtzman - 30 Sep 2003 01:50 GMT
Yeah, the drag and drop is supported, along with gacutil. Yes, please let
us know if you see this happen again.

Thanks

Tim

--------------------
>From: "Ice" <ice@nospam.com>
>References: <#wJT4ikdDHA.2732@tk2msftngp13.phx.gbl>
<fRIck1ifDHA.1544@cpmsftngxa06.phx.gbl>
<uOFhzErfDHA.460@TK2MSFTNGP12.phx.gbl>
<WuMaW8hgDHA.1544@cpmsftngxa06.phx.gbl>
>Subject: Re: Assembly 'assemblyname' could not be uninstalled because it
is required by other applications.
>Date: Fri, 26 Sep 2003 00:56:30 -0500
>Lines: 94
[quoted text clipped - 87 lines]
>> >> | Thanks.
>> >> | ice
Tim Kurtzman - 30 Sep 2003 02:30 GMT
I just talked with the developer that works on this stuff. Apparently, this
is a known bug.

All assemblies belong to MSI, even though I installed assembly using gacutil

1)       the (Default) name in the registry contains an MSI descriptor
value.  This is an MSI bug, but they are not exactly sure how the system
gets into this state.  Too hard to understand once system is in this state

Backup your HKCU\Software\Microsoft\Installer\Assemblies\Global.    Go and
delete the (Default) key under
HKCU\Software\Microsoft\Installer\Assemblies\Global

           OR

Backup your HKLM\SOFTWARE\Classes\Installer\Assemblies\Global.  Go and
delete the (Default) key under
HKLM\SOFTWARE\Classes\Installer\Assemblies\Global

I hope this helps

Tim

--------------------
>X-Tomcat-ID: 18076572
>References: <#wJT4ikdDHA.2732@tk2msftngp13.phx.gbl>
<fRIck1ifDHA.1544@cpmsftngxa06.phx.gbl>
<uOFhzErfDHA.460@TK2MSFTNGP12.phx.gbl>
<WuMaW8hgDHA.1544@cpmsftngxa06.phx.gbl>
<#$z3EM$gDHA.1668@TK2MSFTNGP12.phx.gbl>
>MIME-Version: 1.0
>Content-Type: text/plain
[quoted text clipped - 3 lines]
>Date: Tue, 30 Sep 2003 00:50:00 GMT
>Subject: Re: Assembly 'assemblyname' could not be uninstalled because it
is required by other applications.
>X-Tomcat-NG: microsoft.public.dotnet.framework.clr
>Message-ID: <Cnm2HzuhDHA.2624@cpmsftngxa06.phx.gbl>
[quoted text clipped - 114 lines]
>>> >> | Thanks.
>>> >> | ice
Ice - 02 Oct 2003 16:59 GMT
thanks for info, like i said before, u can just navigate to the directory
and wack the assemblies also :)

ice
> I just talked with the developer that works on this stuff. Apparently, this
> is a known bug.
[quoted text clipped - 95 lines]
> >>> <fRIck1ifDHA.1544@cpmsftngxa06.phx.gbl>
> >>> >Subject: Re: Assembly 'assemblyname' could not be uninstalled because

> it
> >>> is required by other applications.
[quoted text clipped - 59 lines]
> >>> >> | Thanks.
> >>> >> | ice

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.