473,770 Members | 2,144 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Nov 15 '05 #1
2 5898
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******** *******@tk2msft ngp13.phx.gbl.. .
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

Nov 15 '05 #2
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******** *******@tk2msft ngp13.phx.gbl.. .
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

Nov 15 '05 #3

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

Similar topics

0
1478
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 IExtenderProvider, which is dependend from one other assembly, which in turn is dependend only from
3
6312
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 = Assembly.LoadFrom(config.exec.assemblyName); tRunnable = assembly.GetType(config.exec.typeName); object runner = assembly.CreateInstance("Demo"); Type type = runner.GetType();
4
5422
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 have trawled the web and the few that have the same error have not being provided a fix. This error occurs if i make the slightest change in my project. If i REBUILD my project no error occurs. So i keep having to rebuild my project - this is not...
0
2109
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 Detailed Compiler Output is at the bottom of this post. This is a custom dll named UtilitiesINGR.dll that I put in the GAC. I added a machine.config entry to instruct my app to use the GAC entry. Now I need to remove the dll from the GAC so I can...
1
4029
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, I got following error. C:\Documents and Settings\Administrator\Desktop\Test\Setup1\Setup1.vdproj Unrecoverable build error sometime I get this error.
0
1725
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 Photo. Any suggestions on how to solve this? i can't do much at the moment. Server Error in '/PhotoGallery' Application. -------------------------------------------------------------------------------- Cannot create/shadow copy 'Photo' when...
1
8922
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 Photo. Any suggestions on how to solve this? i can't do much at the moment. Server Error in '/PhotoGallery' Application. -------------------------------------------------------------------------------- Cannot create/shadow copy 'Photo' when...
0
3980
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" group="1"/> </soapExtensionTypes> <protocols> <remove name="HttpPost"/> <remove name="HttpGet"/>
10
4395
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 configuration file or in the page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration><system.web><httpModulessection in the application configuration. Here is my current...
0
9454
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10101
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8933
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6712
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5354
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.