PC Review


Reply
Thread Tools Rate Thread

Can't delete assembly from GAC in Windows 2003 with Framework 2.0

 
 
Diego F.
Guest
Posts: n/a
 
      23rd May 2005
I can't delete an assembly from GAC. I'm trying to delete from Framework 2.0
configuration tool, but I'm getting an error: Error deleting assembly.

How can I remove it?

I get also an error when trying to change the assembly trust with the
wizard: Unable to load assembly.

Is this a framework 2.0 bug?

--
Regards,

Diego F.


 
Reply With Quote
 
 
 
 
=?Utf-8?B?c2FtX2lu?=
Guest
Posts: n/a
 
      23rd May 2005
Have you tried first unregistering the assembly with regasm tool?

Regards,
Sam

"Diego F." wrote:

> I can't delete an assembly from GAC. I'm trying to delete from Framework 2.0
> configuration tool, but I'm getting an error: Error deleting assembly.
>
> How can I remove it?
>
> I get also an error when trying to change the assembly trust with the
> wizard: Unable to load assembly.
>
> Is this a framework 2.0 bug?
>
> --
> Regards,
>
> Diego F.
>
>
>

 
Reply With Quote
 
Diego F.
Guest
Posts: n/a
 
      23rd May 2005
No. How do I use that tool? I tried using:
regasm "my library.dll" /unregister, but it doesn't find the libray.

--
Regards,

Diego F.

"sam_in" <(E-Mail Removed)> escribió en el mensaje
news:FDB2C6AE-6339-4060-A4B2-(E-Mail Removed)...
> Have you tried first unregistering the assembly with regasm tool?
>
> Regards,
> Sam
>
> "Diego F." wrote:
>
>> I can't delete an assembly from GAC. I'm trying to delete from Framework
>> 2.0
>> configuration tool, but I'm getting an error: Error deleting assembly.
>>
>> How can I remove it?
>>
>> I get also an error when trying to change the assembly trust with the
>> wizard: Unable to load assembly.
>>
>> Is this a framework 2.0 bug?
>>
>> --
>> Regards,
>>
>> Diego F.
>>
>>
>>



 
Reply With Quote
 
Lloyd Dupont
Guest
Posts: n/a
 
      23rd May 2005
I think he meant the "unregistering tool whatever it is"...
refering you to:
C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\Bin\StartTools.htm

And then you'll undestand he was speaking of: gacutil.exe

"Diego F." <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> No. How do I use that tool? I tried using:
> regasm "my library.dll" /unregister, but it doesn't find the libray.
>
> --
> Regards,
>
> Diego F.
>
> "sam_in" <(E-Mail Removed)> escribió en el mensaje
> news:FDB2C6AE-6339-4060-A4B2-(E-Mail Removed)...
>> Have you tried first unregistering the assembly with regasm tool?
>>
>> Regards,
>> Sam
>>
>> "Diego F." wrote:
>>
>>> I can't delete an assembly from GAC. I'm trying to delete from Framework
>>> 2.0
>>> configuration tool, but I'm getting an error: Error deleting assembly.
>>>
>>> How can I remove it?
>>>
>>> I get also an error when trying to change the assembly trust with the
>>> wizard: Unable to load assembly.
>>>
>>> Is this a framework 2.0 bug?
>>>
>>> --
>>> Regards,
>>>
>>> Diego F.
>>>
>>>
>>>

>
>



 
Reply With Quote
 
=?Utf-8?B?c2FtX2lu?=
Guest
Posts: n/a
 
      24th May 2005
Usage: Gacutil <command> [ <options> ]
Commands:

/u <assembly_name> [ /r <...> ]
Uninstalls an assembly. <assembly_name> is the name of the assembly
(partial or fully qualified) to remove from the Global Assembly Cache.
If a partial name is specified all matching assemblies will be
uninstalled.
Example:
/u myDll,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab
/r FILEPATH c:\projects\myapp.exe "My App"

/uf <assembly_name>
Forces uninstall of an assembly by removing all traced references.
<assembly_name> is the full name of the assembly to remove. Assembly will
be removed unless referenced by Windows Installer.
! Warning: use the /uf command with care as applications may fail to run !
Example: /uf
myDll,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23a
b

/ul <assembly_list_file> [ /r <...> ]
Uninstalls one or more assemblies from the global assembly cache.
<assembly_list_file> is the path to a text file that contains a list of
assembly names. Individual names in the text file must be
separated by CR/LF.
Example: /ul myAssemblyList.txt /r FILEPATH c:\projects\myapp.exe "My App"
myAssemblyList.txt content:
myDll,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab
myDll2,Version=1.1.0.0,Culture=en,PublicKeyToken=874e23ab874e23ab

/ungen <assembly_name>
Uninstalls a native image installed via the NGEN utility. <assembly_name>
is the name of the assembly for which native images are to be uninstalled.
The assembly itself will remain in the global assembly cache.
Example: /ungen myDll


Hope this helps.
Regards
Sam
"Lloyd Dupont" wrote:

> I think he meant the "unregistering tool whatever it is"...
> refering you to:
> C:\Program Files\Microsoft Visual Studio .NET
> 2003\SDK\v1.1\Bin\StartTools.htm
>
> And then you'll undestand he was speaking of: gacutil.exe
>
> "Diego F." <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > No. How do I use that tool? I tried using:
> > regasm "my library.dll" /unregister, but it doesn't find the libray.
> >
> > --
> > Regards,
> >
> > Diego F.
> >
> > "sam_in" <(E-Mail Removed)> escribió en el mensaje
> > news:FDB2C6AE-6339-4060-A4B2-(E-Mail Removed)...
> >> Have you tried first unregistering the assembly with regasm tool?
> >>
> >> Regards,
> >> Sam
> >>
> >> "Diego F." wrote:
> >>
> >>> I can't delete an assembly from GAC. I'm trying to delete from Framework
> >>> 2.0
> >>> configuration tool, but I'm getting an error: Error deleting assembly.
> >>>
> >>> How can I remove it?
> >>>
> >>> I get also an error when trying to change the assembly trust with the
> >>> wizard: Unable to load assembly.
> >>>
> >>> Is this a framework 2.0 bug?
> >>>
> >>> --
> >>> Regards,
> >>>
> >>> Diego F.
> >>>
> >>>
> >>>

> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Data.dll Difference (Windows Server 2003 - Framework v1.1.4322 vs (Other Windows OS) - Framework v1.1.4322) Mythran Microsoft ADO .NET 1 12th Oct 2007 07:40 PM
Accessing framework 2.0 assembly in framework 1.1 application Amit Bhatnagar Microsoft ASP .NET 2 3rd Oct 2007 06:22 PM
Deploy mixed assembly with Windows Server 2003 Gianluca Carucci Microsoft VC .NET 3 29th Jan 2006 10:29 AM
Loading a referenced Framework 1.1 assembly from a Framework 2.0 Application Stefan Born Microsoft Dot NET Framework 1 30th May 2005 07:57 PM
API or Assembly for Windows Server 2003 POP3 svr Nicholas Then Microsoft Dot NET 3 12th Nov 2003 06:07 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:11 AM.