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

Uninstalling Assembly from GAC.

Hi All

I have around 3 versions of same assembly installed in my GAC. Now I have to
un-install all these assem from GAC, for this I removed all the references to
these assem and called gacutil - u assname.
However it is not getting uninstalled, saying one or more applications are
using these assem.
Could anybody help me uninstalling these assem from GAC

Makarand
Jul 21 '05 #1
3 1859
Your two most likely process candidates are Visual Studio.Net and
aspnet_wp.exe. Have you tried closing VS.Net and restarting the
aspnet_wp.exe?

"Makarand Keer" wrote:
Hi All

I have around 3 versions of same assembly installed in my GAC. Now I have to
un-install all these assem from GAC, for this I removed all the references to
these assem and called gacutil - u assname.
However it is not getting uninstalled, saying one or more applications are
using these assem.
Could anybody help me uninstalling these assem from GAC

Makarand

Jul 21 '05 #2
How did you originally install the assembly?

When an assembly is installed into the GAC the application that installs it
creates a trace reference that uniquely identifies the installing
application. When uninstalled, the uninstaller identifies itself by creating
a trace reference (it should be the same as the one used to originally
install it), and the GAC will remove the trace reference. Only when there
are no more trace references will the assembly actually be deleted.

MSI may also be doing some kind of reference counting of its own - someone
else may be able to shed some light on how that works.

"Makarand Keer" <Ma**********@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com...
Hi All

I have around 3 versions of same assembly installed in my GAC. Now I have
to
un-install all these assem from GAC, for this I removed all the references
to
these assem and called gacutil - u assname.
However it is not getting uninstalled, saying one or more applications are
using these assem.
Could anybody help me uninstalling these assem from GAC

Makarand

Jul 21 '05 #3
Friends

I found the Cause and remedy for my problem on
http://blogs.msdn.com/alanshi/archiv.../10/42690.aspx

Hope this will save your time as well....

Makarand

"David Levine" wrote:
How did you originally install the assembly?

When an assembly is installed into the GAC the application that installs it
creates a trace reference that uniquely identifies the installing
application. When uninstalled, the uninstaller identifies itself by creating
a trace reference (it should be the same as the one used to originally
install it), and the GAC will remove the trace reference. Only when there
are no more trace references will the assembly actually be deleted.

MSI may also be doing some kind of reference counting of its own - someone
else may be able to shed some light on how that works.

"Makarand Keer" <Ma**********@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com...
Hi All

I have around 3 versions of same assembly installed in my GAC. Now I have
to
un-install all these assem from GAC, for this I removed all the references
to
these assem and called gacutil - u assname.
However it is not getting uninstalled, saying one or more applications are
using these assem.
Could anybody help me uninstalling these assem from GAC

Makarand


Jul 21 '05 #4

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

Similar topics

2
by: Jan Kidrud | last post by:
Ones I install an assembly in the GAC, I'm unable to unstall it. This diables loading of debug symbols (pdb) of the assembly. This must be a well-known issue, but I didn't succeed in finding a...
1
by: Aadam | last post by:
I'm getting this error when trying to uninstall this component from the GAC. This is the 1.0 framework and wasn't installed with Windows Installer. Any ideas? Assembly: uwnm001,...
1
by: Rhino | last post by:
Is there any way to install the IBM Distributed Debugger V9.2 on Windows XP without first uninstalling DB2? I installed the IBM Distributed Debugger V9.2 on my Windows XP box in the hopes of...
3
by: John Salerno | last post by:
Will uninstalling these be as easy as using the Control Panel, or will there be a series of steps like with beta 1?
7
by: Larry Bird | last post by:
I have a windows service that want to un-install. When I run "installutil /u serivcename" I get the error that the serivce is not installed on my machine. However, when view the serivce console I...
0
by: Chavez | last post by:
Hi, I have a VB.NET solution, comprising a main application and a deployment application. When I installed the application (selecting the deployment project, then Project -> Install)...
3
by: Makarand Keer | last post by:
Hi All I have around 3 versions of same assembly installed in my GAC. Now I have to un-install all these assem from GAC, for this I removed all the references to these assem and called gacutil -...
6
by: Pete | last post by:
I am using xpsp2, and I have two versions of python (2.2 and 2.2.3 - both are listed as 29.3 mb, and listed as rarely used, which means never to me) listed in add/remove programs in the control...
0
by: hannonjohn | last post by:
Hi, Here's the solution to this problem. "Sometimes when uninstalling ReSharper, it fails to restore original Visual Studio's intellisense. To restore it, go to Tools > Options > Text Editor...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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
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...

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.