473,387 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Jul 21 '05 #1
3 6930
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%****************@tk2msftngp13.phx.gbl...
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

Jul 21 '05 #2
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%****************@tk2msftngp13.phx.gbl...
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


*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #3

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/ad******...p.com/msg03504
.html

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Joerg Krause | last post by:
Hi folks, the problem was discussed frequently here but I guess I have some other weird behavior. Have been trying out all suggestions with no avail. 1) I have a usercontrol, deriven from...
2
by: Navin | last post by:
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...
3
by: Manfred Braun | last post by:
Hi All, I am able to invoke some methods from an instance of a loaded assembly, but I am not able to invoke the loaded assemblie's "Main" method. I try it this way: Assembly assembly =...
4
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I...
0
by: Don | last post by:
I intermittently get a runtime Compilation Error that says 'The compiler failed with error code 2000'. It appears that a DLL cannot be found in the 'temporary asp.net files' directory. The...
1
by: Kishor | last post by:
Hi, I have developed an assembly, now it the the time to build the setup for assembly. I have created Setup project. I have added necessary files, created shortcuts... etc. when I started build,...
0
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
1
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
0
by: =?Utf-8?B?RGFuZGFuIFpoYW5n?= | last post by:
I have a web method and there are the following sections in web.config: <system.web> <webServices> <soapExtensionTypes> <add type="SampleClass.SampleExtension, SampleClass" priority="1"...
10
by: =?Utf-8?B?V2FubmFiZQ==?= | last post by:
I've been on this for a while, and cannot figure it out. Can someone please help with this message? SessionState can only be used when EnableSessionState is set to true, either in a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.