Connecting Tech Pros Worldwide Help | Site Map

Cannot remove a .NET assembly from GAC

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 21st, 2005, 08:05 AM
Navin
Guest
 
Posts: n/a
Default Cannot remove a .NET assembly from GAC

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, 08:05 AM
Cowboy \(Gregory A Beamer\)
Guest
 
Posts: n/a
Default 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, 08:10 AM
robert slaney
Guest
 
Posts: n/a
Default 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, 08:10 AM
robert slaney
Guest
 
Posts: n/a
Default 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!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.