Cannot remove a .NET assembly from GAC

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Navin

    #1

    Cannot remove a .NET assembly from GAC

    Hi everyone,

    I am facing this typical problem. I have a .NET assembly called
    "SecurityLi b", 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= 5843b4c8bb83aa9 9, Custom=null
    Unable to uninstall: assembly is required by one or more applications

    Pending references:
    SCHEME: <WINDOWS_INSTAL LER> 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

    #2
    Re: Cannot remove a .NET assembly from GAC

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

    Hope this helps

    Dion Heskett


    "Navin" <nv@nv.com> wrote in message
    news:e5%23CxFUd DHA.656@tk2msft ngp13.phx.gbl.. .[color=blue]
    > Hi everyone,
    >
    > I am facing this typical problem. I have a .NET assembly called
    > "SecurityLi b", 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= 5843b4c8bb83aa9 9, Custom=null
    > Unable to uninstall: assembly is required by one or more applications
    >
    > Pending references:
    > SCHEME: <WINDOWS_INSTAL LER> 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]


    Comment

    • Manish Jain

      #3
      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.U I.WebControls and Microsoft.Web.U I.WebControls.D esign
      do not appear. You may use the command "gacutil -l" to do this. The
      gacutil tool is located at Program
      Files\Microsoft .NET\Frameworks SDK\Bin or Program Files\Microsoft
      Visual Studio .NET\Frameworks SDK\Bin. If the DLLs still exist in the
      GAC, unregister the DLLs. Use the following syntax to unregister the
      DLLs:
      gacutil -u Microsoft.Web.U I.WebControls
      gacutil -u Microsoft.Web.U I.WebControls.D esign
      -------

      Hope this helps.


      "Navin" <nv@nv.com> wrote in message
      news:e5%23CxFUd DHA.656@tk2msft ngp13.phx.gbl.. .[color=blue]
      > Hi everyone,
      >
      > I am facing this typical problem. I have a .NET assembly called
      > "SecurityLi b", 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= 5843b4c8bb83aa9 9, Custom=null
      > Unable to uninstall: assembly is required by one or more applications
      >
      > Pending references:
      > SCHEME: <WINDOWS_INSTAL LER> 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]


      Comment

      Working...