PC Review


Reply
Thread Tools Rate Thread

Cannot remove assembly from cache

 
 
=?Utf-8?B?RmFoYWQgQXNoZmFxdWU=?=
Guest
Posts: n/a
 
      26th Jan 2005
Hi,

I tried to remove assembly from Framework 1.1 Configuration, it says 'Error
removing assembly' I then hit the gactil which results the following

Microsoft (R) .NET Global Assembly Cache Utility. Version
1.1.4322.573
Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.

Assembly: foo, Version=1.0.1.1, Culture=neutral,
PublicKeyToken=1234567890123456, Custom=null
Assembly could not be uninstalled because it is required by Windows
Installer
Unable to uninstall: assembly is required by one or more applications
Pending references:


SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Installer>

Number of items uninstalled = 0
Number of failures = 0
---------------------------------------------------------

I also looked the following registry keys, but there is no such entry.


HKEY_CURRENT_USER\Software\Microsoft\Installer\Assemblies
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Assemblies




Any help would be really appreciated.

Thanks in advance,

Fahad
 
Reply With Quote
 
 
 
 
Richard Grimes [MVP]
Guest
Posts: n/a
 
      11th Feb 2005
Fahad Ashfaque wrote:
> Hi,
>
> I tried to remove assembly from Framework 1.1 Configuration, it says
> 'Error removing assembly' I then hit the gactil which results the
> following
>
> Microsoft (R) .NET Global Assembly Cache Utility. Version
> 1.1.4322.573
> Copyright (C) Microsoft Corporation 1998-2002. All rights reserved.
>
> Assembly: foo, Version=1.0.1.1, Culture=neutral,
> PublicKeyToken=1234567890123456, Custom=null
> Assembly could not be uninstalled because it is required by Windows
> Installer
> Unable to uninstall: assembly is required by one or more applications
> Pending references:
>
>
> SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
> Installer>
>
> Number of items uninstalled = 0
> Number of failures = 0
> ---------------------------------------------------------


What this says is that an installer application has added the assembly to
the GAC using gacutil /ir (rather than /i). To uninstall it you must use /ur
and give the installer scheme. For more details see my tutorial:

http://www.grimes.demon.co.uk/workshops/fusWSSeven.htm

Richard
--
www.richardgrimes.com
my email (E-Mail Removed) is encrypted with ROT13 (www.rot13.org)


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The application requires that assembly office Version 12.0.0.0 be installed in the Global Assembly Cache (GAC) first. Bill Nguyen Microsoft VB .NET 2 30th May 2008 11:17 PM
Adding Assembly to Global Assembly Cache =?Utf-8?B?VGVycmFuY2U=?= Microsoft Dot NET 6 14th Feb 2006 04:45 PM
Assembly Cache Marco Sutter Microsoft Dot NET 1 19th Jan 2004 12:11 PM
What is assembly?and Global Assembly cache.... abc Microsoft Dot NET Framework 3 17th Sep 2003 12:24 PM
Re: Remove assemblies in the c:\windows\assembly\download cache? Mattias Sjögren Microsoft VB .NET 0 20th Aug 2003 11:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:24 AM.