By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,667 Members | 2,603 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,667 IT Pros & Developers. It's quick & easy.

Uninstalling Assembly from GAC.

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.