John Lam 1997 — 2026

IISRESET is your friend

If you are writing strong-named assemblies that will be called from ASP.NET pages, it is highly likely that you will want to install them into the GAC. You will find out, however, that assemblies installed into the GAC are cached by the ASP.NET worker process. This means that changes to your GAC-installed assemblies REQUIRE recycling the aspnet_wp.exe worker process. This, of course, means that you need to run iisreset every time you rebuild your application. Ugh.

2 archived reader comments

Sairama Jamalapuram (2003-09-08)

Does GacUtil /cdl will help instead of iisreset?

Bernard Vander Beken (2003-09-09)

While you’re promoting iisreset, it’s useful to look at the following KB article: http://support.microsoft.com/default.aspx?scid=kb;en-us;286196