Connecting Tech Pros Worldwide Help | Site Map

Cannot remove a .NET assembly from GAC

Navin
Guest
 
Posts: n/a
#1: Nov 15 '05
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


Dion Heskett
Guest
 
Posts: n/a
#2: Nov 15 '05

re: Cannot remove a .NET assembly from GAC


Open Explorer and goto C:\WINDOWS\assembly or C:\WINNT\assembly right click
on the assembly in question and select delete.

Hope this helps

Dion Heskett


"Navin" <nv@nv.com> wrote in message
news:e5%23CxFUdDHA.656@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]


Manish Jain
Guest
 
Posts: n/a
#3: Nov 15 '05

re: Cannot remove a .NET assembly from GAC


I am enclosing what MS recommends for IEWebcontrols.
-------
3. Check the Global Assembly Cache (GAC) to ensure that
Microsoft.Web.UI.WebControls and Microsoft.Web.UI.WebControls.Design
do not appear. You may use the command "gacutil -l" to do this. The
gacutil tool is located at Program
Files\Microsoft.NET\FrameworksSDK\Bin or Program Files\Microsoft
Visual Studio .NET\FrameworksSDK\Bin. If the DLLs still exist in the
GAC, unregister the DLLs. Use the following syntax to unregister the
DLLs:
gacutil -u Microsoft.Web.UI.WebControls
gacutil -u Microsoft.Web.UI.WebControls.Design
-------

Hope this helps.


"Navin" <nv@nv.com> wrote in message
news:e5%23CxFUdDHA.656@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]


Closed Thread