473,387 Members | 1,757 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.

Why can not delete assembly from GAC?

I intalled an assembly into GAC by gacutil.exe.
But when i delete it from GAC by gacutil.exe, i got an error message such as
follow:

Assembly: Client.Common, Version=1.0.1.0, Culture=neutral,
PublicKeyToken=01aef4fcc8ad7772, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Installer>

So i want to delete it directely from assembly folder and .net framework
configuration tools, but failed.

So who can tell me why cann't delete assembly from GAC and how to delete it?
Nov 13 '05 #1
2 8215
I am guessing here:
Maybe some program you've installed, declared the assembly as "critical" or
something.
Thus, you'll need to uninstall that program before removing the assembly.

Miha

"30906024" <en********@msn.com> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl...
I intalled an assembly into GAC by gacutil.exe.
But when i delete it from GAC by gacutil.exe, i got an error message such as follow:

Assembly: Client.Common, Version=1.0.1.0, Culture=neutral,
PublicKeyToken=01aef4fcc8ad7772, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows Installer>

So i want to delete it directely from assembly folder and .net framework
configuration tools, but failed.

So who can tell me why cann't delete assembly from GAC and how to delete it?

Nov 13 '05 #2
Well, I can't answer that (my uninstall went as it was supposed to),
but I do have something to add to it. Ever since I
installed-then-uninstalled my DLL from the GAC, whenever my dll loads,
it thinks its execution path is \winnt\system32, even tho', I have it
running in another directory and the exe that loads it is also in that
other directory (c:\framework in this case). Anyone seen that and how
I can get around it? yes, there is only one copy of my DLL on my
system. It works fine when I move it to another system that didn't go
thru' the GAC cycle like on my machine. Very annoying.

"30906024" <en********@msn.com> wrote in message news:<e5**************@TK2MSFTNGP10.phx.gbl>...
I intalled an assembly into GAC by gacutil.exe.
But when i delete it from GAC by gacutil.exe, i got an error message such as
follow:

Assembly: Client.Common, Version=1.0.1.0, Culture=neutral,
PublicKeyToken=01aef4fcc8ad7772, Custom=null
Unable to uninstall: assembly is required by one or more applications
Pending references:
SCHEME: <WINDOWS_INSTALLER> ID: <MSI> DESCRIPTION : <Windows
Installer>

So i want to delete it directely from assembly folder and .net framework
configuration tools, but failed.

So who can tell me why cann't delete assembly from GAC and how to delete it?

Nov 13 '05 #3

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

Similar topics

14
by: A | last post by:
Hi, Consider this: char* ptr = "a string"; Is ptr a pointer to a dynamically created object for which i must use the delete operator to deallocate memory? I'm sure the "a string" part...
0
by: Chris Pratt | last post by:
I need to be able to remove some dlls from the GAC in order to return to using an older version of a component but I do not seem to be able to delete anything from the GAC in order to do so. ...
4
by: GlobalBruce | last post by:
The global assembly cache on my development computer has duplicate native images of several System assemblies. For instance, the System assembly itself is present as two different native images, as...
7
by: Charts | last post by:
I login as administrator of the machine. However running the following code get access denied exception for file inside the directory. The source code: DirectoryInfo target = new...
2
by: createdbyx | last post by:
I am trying to make a file sync utillity to sync files between my laptop and my desktop pc. On my desktop machine (xp pro sp2) I have shared my "Visual Studio Projects" folder using windows simple...
2
by: Jan | last post by:
Hi all, I haven't done anything yet to study the securiy subject. I'm developing a product where I will have to learn a lot about security in ..NET applications but for now I have a "simple"...
0
by: mbowden | last post by:
I inadvertently set the language property to zu-ZA (Zulu) on a form that resides in a library assembly. I immediately set it back to (Default), but now whenever I build anything that uses this...
15
by: LuB | last post by:
I am constantly creating and destroying a singular object used within a class I wrote. To save a bit of time, I am considering using 'placement new'. I guess we could also debate this decision -...
3
by: atrottier | last post by:
I'am new here so I'd like to say hello and this seems to be a great site it has already helped me a few times. I just got an assignment to correct and modify a simple access application. First some...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.