473,414 Members | 1,951 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,414 software developers and data experts.

Removing from GAC

wes
I just installed VS .Net 2003 and now when I try to remove
something from the GAC I get the error:

Unable to uninstall: assembly is required by one or more
applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
<Windows Installer>

These are components I had no problems installing and
uninstalling previously. Does anyone know how I can
uninstall?

Jul 21 '05 #1
4 3266
Assemblies get flagged as being 'special' when an installer program places
them in the GAC. The only way you are supposed to remove them is to
uninstall the program
that originally installed it into the GAC.

Baring that, you can open a DOS prompt and go into %windir%\assembly and
find/delete the assembly by hand.

Tim

--------------------
| Content-Class: urn:content-classes:message
| From: "wes" <wg*******@hotmail.com>
| Sender: "wes" <wg*******@hotmail.com>
| Subject: Removing from GAC
| Date: Mon, 8 Sep 2003 06:31:52 -0700
| Lines: 13
| Message-ID: <38****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN2DZCLUO9O4+waTHmhfwIcHklTTQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107652
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I just installed VS .Net 2003 and now when I try to remove
| something from the GAC I get the error:
|
| Unable to uninstall: assembly is required by one or more
| applications
| Pending references:
| SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
| <Windows Installer>
|
| These are components I had no problems installing and
| uninstalling previously. Does anyone know how I can
| uninstall?
|
|

Jul 21 '05 #2
wes
I installed these using gacutil from the command prompt.
So I don't know why it thinks they were installed by
something else. That being said, I can remove them by
hand, but don't want this to be a permanent solution.
-----Original Message-----
Assemblies get flagged as being 'special' when an installer program placesthem in the GAC. The only way you are supposed to remove them is touninstall the program
that originally installed it into the GAC.

Baring that, you can open a DOS prompt and go into % windir%\assembly andfind/delete the assembly by hand.

Tim

--------------------
| Content-Class: urn:content-classes:message
| From: "wes" <wg*******@hotmail.com>
| Sender: "wes" <wg*******@hotmail.com>
| Subject: Removing from GAC
| Date: Mon, 8 Sep 2003 06:31:52 -0700
| Lines: 13
| Message-ID: <38****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN2DZCLUO9O4+waTHmhfwIcHklTTQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:107652| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I just installed VS .Net 2003 and now when I try to remove| something from the GAC I get the error:
|
| Unable to uninstall: assembly is required by one or more| applications
| Pending references:
| SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
| <Windows Installer>
|
| These are components I had no problems installing and
| uninstalling previously. Does anyone know how I can
| uninstall?
|
|

.

Jul 21 '05 #3
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\Globa l. Go and
delete the (Default) key under
HKCU\Software\Microsoft\Installer\Assemblies\Globa l

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

--------------------
Content-Class: urn:content-classes:message
From: "wes" <wg*******@hotmail.com>
Sender: "wes" <wg*******@hotmail.com>
References: <38****************************@phx.gbl> <31**************@cpmsftngxa06.phx.gbl>Subject: RE: Removing from GAC
Date: Tue, 23 Sep 2003 11:07:13 -0700
Lines: 60
Message-ID: <0e****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOB/YOuS9aCGHKSTxGKXO9r1btLRg==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109620
NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.public.dotnet.general

I installed these using gacutil from the command prompt.
So I don't know why it thinks they were installed by
something else. That being said, I can remove them by
hand, but don't want this to be a permanent solution.
-----Original Message-----
Assemblies get flagged as being 'special' when an

installer program places
them in the GAC. The only way you are supposed to remove

them is to
uninstall the program
that originally installed it into the GAC.

Baring that, you can open a DOS prompt and go into %

windir%\assembly and
find/delete the assembly by hand.

Tim

--------------------
| Content-Class: urn:content-classes:message
| From: "wes" <wg*******@hotmail.com>
| Sender: "wes" <wg*******@hotmail.com>
| Subject: Removing from GAC
| Date: Mon, 8 Sep 2003 06:31:52 -0700
| Lines: 13
| Message-ID: <38****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN2DZCLUO9O4+waTHmhfwIcHklTTQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.general:107652
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I just installed VS .Net 2003 and now when I try to

remove
| something from the GAC I get the error:
|
| Unable to uninstall: assembly is required by one or

more
| applications
| Pending references:
| SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
| <Windows Installer>
|
| These are components I had no problems installing and
| uninstalling previously. Does anyone know how I can
| uninstall?
|
|

.


Jul 21 '05 #4
wes
That worked. It was in the HKLM and not the HKCU.
-----Original Message-----
I just talked with the developer that works on this stuff. Apparently, thisis 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 descriptorvalue. This is an MSI bug, but they are not exactly sure how the systemgets into this state. Too hard to understand once system is in this state
Backup your HKCU\Software\Microsoft\Installer\Assemblies\Globa l. Go
anddelete the (Default) key under
HKCU\Software\Microsoft\Installer\Assemblies\Glob al

OR

Backup your HKLM\SOFTWARE\Classes\Installer\Assemblies\Global. Go anddelete the (Default) key under
HKLM\SOFTWARE\Classes\Installer\Assemblies\Glob al

I hope this helps

Tim

--------------------
Content-Class: urn:content-classes:message
From: "wes" <wg*******@hotmail.com>
Sender: "wes" <wg*******@hotmail.com>
References: <38****************************@phx.gbl>

<31**************@cpmsftngxa06.phx.gbl>
Subject: RE: Removing from GAC
Date: Tue, 23 Sep 2003 11:07:13 -0700
Lines: 60
Message-ID: <0e****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOB/YOuS9aCGHKSTxGKXO9r1btLRg==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:109620NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
X-Tomcat-NG: microsoft.public.dotnet.general

I installed these using gacutil from the command prompt.
So I don't know why it thinks they were installed by
something else. That being said, I can remove them by
hand, but don't want this to be a permanent solution.
-----Original Message-----
Assemblies get flagged as being 'special' when an

installer program places
them in the GAC. The only way you are supposed to remove
them is to
uninstall the program
that originally installed it into the GAC.

Baring that, you can open a DOS prompt and go into %

windir%\assembly and
find/delete the assembly by hand.

Tim

--------------------
| Content-Class: urn:content-classes:message
| From: "wes" <wg*******@hotmail.com>
| Sender: "wes" <wg*******@hotmail.com>
| Subject: Removing from GAC
| Date: Mon, 8 Sep 2003 06:31:52 -0700
| Lines: 13
| Message-ID: <38****************************@phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE

V5.50.4910.0300| Thread-Index: AcN2DZCLUO9O4+waTHmhfwIcHklTTQ==
| Newsgroups: microsoft.public.dotnet.general
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.general:107652
| NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| I just installed VS .Net 2003 and now when I try to

remove
| something from the GAC I get the error:
|
| Unable to uninstall: assembly is required by one or

more
| applications
| Pending references:
| SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION :
| <Windows Installer>
|
| These are components I had no problems installing and
| uninstalling previously. Does anyone know how I can
| uninstall?
|
|

.


.

Jul 21 '05 #5

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

Similar topics

16
by: qwweeeit | last post by:
In analysing a very big application (pysol) made of almost 100 sources, I had the need to remove comments. Removing the comments which take all the line is straightforward... Instead for the...
3
by: Jeremy Owens-Boggs | last post by:
We are trying to implement a dual list box selection where you have two list boxes, You highlight items in the right side list box, click a button and this moves those items over to the left hand...
0
by: sameer mowade via .NET 247 | last post by:
Hello All, I have problem while dynamically removing row from the Datagrid which i have added dynamically as shown in the following code snippet. The problem is that while removing dynamically...
66
by: Cor | last post by:
Hi, I start a new thread about a discussion from yesterday (or for some of us this morning). It was a not so nice discussion about dynamically removing controls from a panel or what ever. It...
3
by: kevin | last post by:
Is that even possible? I am creating a web service in .NET to expose some already created .NET programs to other groups. One group is writing the client in PERL, and thus wishes the wsdl schema...
3
by: Nathan Sokalski | last post by:
I am having trouble removing cookies that I created with my site. Here is the code I am using to try and remove them: If Not Request.Cookies("username") Is Nothing Then...
9
by: clintonG | last post by:
The Barnes & Noble stores in and around Milwaukee, Wisconsin have removed or are removing all of the Microsoft platform programming and support magazines from their shelves. Not one single magazine...
6
by: Niyazi | last post by:
Hi all, What is fastest way removing duplicated value from string array using vb.net? Here is what currently I am doing but the the array contains over 16000 items. And it just do it in 10 or...
2
by: techi_C | last post by:
Hi I'm getting a problem while removing semaphore from system. Before removing semaphore I'm checking the usage count of a smaphore. // checking usage count usage_count =...
7
by: =?Utf-8?B?Sm9lbCBNZXJr?= | last post by:
I have created a custom class with both value type members and reference type members. I then have another custom class which inherits from a generic list of my first class. This custom listneeds...
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:
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.