Connecting Tech Pros Worldwide Help | Site Map

Cannot remove a .NET assembly from GAC

  #1  
Old July 21st, 2005, 09:05 AM
Navin
Guest
 
Posts: n/a
Hi everyone,

I am facing this typical problem. I have a .NET assembly called
"SecurityLib", which I have kept in GAC using gacutil tool. But now I can
not uninstall it from GAC using gacutil.
I have tried various parameters
gacutil /u
gacutil /uf
gacutil /ungen
gacutil /cdl


The error message is like:
Assembly: SecurityLib, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=5843b4c8bb83aa99, Custom=null
Unable to uninstall: assembly is required by one or more applications

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

But I am pretty sure that it is not referred by any of my applications.

Can any body help please?

Thanks in advance,

Sam


  #2  
Old July 21st, 2005, 09:05 AM
Cowboy \(Gregory A Beamer\)
Guest
 
Posts: n/a

re: Cannot remove a .NET assembly from GAC


Did you place it in the GAC with a custom installer? That is an issue.

Also, did it once get used by a web app? If so, recycle the aspnet worker
process, which should free it.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

************************************************** ********************
Think outside the box!
************************************************** ********************
"Navin" <nv@nv.com> wrote in message
news:u%23N6MJUdDHA.3836@tk2msftngp13.phx.gbl...[color=blue]
> Hi everyone,
>
> I am facing this typical problem. I have a .NET assembly called
> "SecurityLib", which I have kept in GAC using gacutil tool. But now I can
> not uninstall it from GAC using gacutil.
> I have tried various parameters
> gacutil /u
> gacutil /uf
> gacutil /ungen
> gacutil /cdl
>
>
> The error message is like:
> Assembly: SecurityLib, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=5843b4c8bb83aa99, Custom=null
> Unable to uninstall: assembly is required by one or more applications
>
> Pending references:
> SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows Installer>
>
> But I am pretty sure that it is not referred by any of my applications.
>
> Can any body help please?
>
> Thanks in advance,
>
> Sam
>
>[/color]


  #3  
Old July 21st, 2005, 09:10 AM
robert slaney
Guest
 
Posts: n/a

re: Cannot remove a .NET assembly from GAC


Hi Greg

I am having the same issue. I manually added some assemblies, both by
using GACUtil and Drag-drop into Assembly folder. I have not used a
custom installer.

Why is Windows Installer a registered dependance of these assemblies,
but it was not used to put it in the GAC.

Rebooting the PC has not fixed it.

Cheers...

Rob Slaney

-------------- Previous Post -----------------------

Did you place it in the GAC with a custom installer? That is an issue.

Also, did it once get used by a web app? If so, recycle the aspnet
worker
process, which should free it.

--
Gregory A. Beamer
MPV; MCP: +I, SE, SD, DBA

************************************************** ********************
Think outside the box!
************************************************** ********************
"Navin" <nv@nv.com> wrote in message
news:u%23N6MJUdDHA.3836@tk2msftngp13.phx.gbl...[color=blue]
> Hi everyone,
>
> I am facing this typical problem. I have a .NET assembly called
> "SecurityLib", which I have kept in GAC using gacutil tool. But now I[/color]
can[color=blue]
> not uninstall it from GAC using gacutil.
> I have tried various parameters
> gacutil /u
> gacutil /uf
> gacutil /ungen
> gacutil /cdl
>
>
> The error message is like:
> Assembly: SecurityLib, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=5843b4c8bb83aa99, Custom=null
> Unable to uninstall: assembly is required by one or more applications
>
> Pending references:
> SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows[/color]
Installer>[color=blue]
>
> But I am pretty sure that it is not referred by any of my[/color]
applications.[color=blue]
>
> Can any body help please?
>
> Thanks in advance,
>
> Sam
>
>[/color]





*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
  #4  
Old July 21st, 2005, 09:10 AM
robert slaney
Guest
 
Posts: n/a

re: Cannot remove a .NET assembly from GAC



The following was posted by Howard Dierking to resolve this.
-----------------------

I had this same problem -- it had to do with a bug introduced when I
upgraded MSN
Messenger. Anyway, it was resolved by deleting the (default) value for
the following
reg key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Asse mblies\Global

hth,

_howard

------------------------------

Full article at
http://www.mail-archive.com/advanced...p.com/msg03504
.html

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot remove a .NET assembly from GAC Navin answers 3 November 22nd, 2005 03:07 AM
Unable to remove any assembly from GAC Peter Gomis answers 5 November 22nd, 2005 01:48 AM
Cannot remove a .NET assembly from GAC Navin answers 2 November 15th, 2005 11:01 AM
Unable to remove any assembly from GAC Peter Gomis answers 2 July 19th, 2005 04:22 AM