Thursday, January 29, 2009

.DLL Hell, Part Duex

If you believe Microsoft's line that .DLL Hell is a thing of the past, I've got some swampland in Florida to sell you.

Recently we deployed a new solution to a MOSS server. For good measure, an IISRESET was performed AND the server was rebooted.

Guess what? One of the old .DLLs continued to be in use. This situation was finally remedied by totally un-installing the .DLL from the Global Assembly Cache ("GAC"), rebooting the server clean, and then re-installing the .DLL back into the GAC.

Finally, the new version was in use.

So, like the old story goes, despite the MS press to the contrary: reboot early, reboot often, and re-GAC early, re-GAC often...

No comments: