Asp.net Reinstalling a DLL into the GAC

dllgaciis

I'm trying to re-install a DLL in the GAC, everything seems to work fine but the web application accessing it still seems to be using the old one.

The old DLL is the same version as the new one with only a minor edit, it will be used by 50 different sites so changing the version then changing the reference in the web.config is not a good solution.

Restarting the IIS server or the worker process isn't an option as there are already 50 sites running that must continue to do so.

does anyone know what i'm doing wrong or what i can do to remedy this situation?

Best Answer

AFAIK, you need to restart IIS for it to get a fresh reference to the updated DLL. Your best bet is to perform the reset at a low traffic time. If you are running multiple servers with load balancing, you can prevent new connections from hitting one server until all connections have been closed. Afterwards, update the DLL, restart IIS, and bring the server back into the connection pool. Repeat for each server with no visible downtime to the end users.

Related Topic