How to uninstall GAC without gacutil

The web server behave differently and after tracing using ProcMon (Process Monitor) I found out that it using dlls from the GAC_MSIL directory. The directory doesn't visible to human eye because it used by the system the read the IL code. Basically the actual dlls' directory is in C:\WINDOWS\assembly. I know that the app use the wrong dlls, it should used the dlls inside bin directory instead. now what?

1. I went to C:\WINDOWS\assembly directory, drag the unwanted dlls to outside of the directory. nothing happen.

2. Right clicked at the unwanted dlls and select uninstall, the I got this message - unable to uninstall: assembly is required by one or more applications.

3. I'm thinking to force uninstall it but there's no gacutil on the client. System admin doesn't allowed .NET Framework SDK installed on the server.

4. Search the knowledge base and found this - http://support.microsoft.com/kb/873195

5. Did exactly instructed in the kb and right click the unwanted dlls, select uninstall and it has gone. sweet.

It just a typical debugging task for developer. But I think I just stuck with the problem for a few hours and this blog hasn't been updated for more that a year.

 

 

Published Thursday, January 28, 2010 10:50 AM by rasyadi
Filed under:

Comments

# re: How to uninstall GAC without gacutil

Monday, September 20, 2010 2:02 AM by dirn

great solution, however it's a bit nasty when we're required to touch the registry. but hey!! we're developers :)

# re: How to uninstall GAC without gacutil

Friday, January 14, 2011 6:33 PM by Yogee

That is exactly why I wrote a software called Gacbrowser. It removes assembly directory for CLR 2 as well as for latest CLR 4 assemblies. The path for CLR 4 is now at C:\Windows\Microsoft.NET\assembly

# re: How to uninstall GAC without gacutil

Sunday, October 28, 2012 5:13 AM by OUTfSyHVuWsZuUrci

ixc1sM Im grateful for the blog. Much obliged.

# re: How to uninstall GAC without gacutil

Sunday, November 04, 2012 2:59 AM by BtMHelrAkO

EuBqmc Hey, thanks for the blog.Really looking forward to read more. Keep writing.

# re: How to uninstall GAC without gacutil

Saturday, November 24, 2012 2:53 AM by -

<a href="http://www.abc.com">remove</a>&4301dce8d6147bd39a2d90d22e621ee2_NX

# re: How to uninstall GAC without gacutil

Saturday, December 22, 2012 2:10 AM by Beach

Thanks a large amount for sharing this with all of us you really recognize what you have been talking about!

Bookmarked. Please also visit my website =). We could have

a link exchange agreement between us!

# re: How to uninstall GAC without gacutil

Thursday, January 03, 2013 8:21 AM by Meza

I do agree with all of the ideas you’ve presented

in your post. That they’re really convincing and will certainly work.

Still, the posts are very short for newbies.

Could you please extend them a bit out of next time?

Thanks for that the post.

# re: How to uninstall GAC without gacutil

Tuesday, January 08, 2013 7:16 PM by Stansberry

Kudos for that the great piece of writing.

I am glad I have taken that the time to read this.

# re: How to uninstall GAC without gacutil

Saturday, January 12, 2013 4:28 AM by Conroy

the most common table lamp in this day and age still use

incandescent lamp but some of them use compact fluorescent lamps which

have been cool to touch..

# re: How to uninstall GAC without gacutil

Thursday, January 17, 2013 7:19 PM by Macon

Just wanna comment that you have a very nice internet site ,

I love the design it really stands out.

# re: How to uninstall GAC without gacutil

Friday, April 19, 2013 10:40 AM by qIgMFpbYSfXnEv

grV7pP Im obliged for the blog article. Really Cool.

# re: How to uninstall GAC without gacutil

Tuesday, May 14, 2013 3:46 AM by fvKmthJqHJ

7LhDga Major thankies for the blog.Really looking forward to read more. Keep writing.

Leave a Comment

(required) 
(required) 
(optional)
(required)