473,395 Members | 2,222 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,395 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 1860
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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...
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
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,...

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.