Last post Jul 23, 2007 05:05 PM by OWScott
Jul 23, 2007 02:08 AM|vasatt|LINK
I have a asp.net(Framework 1.1) application which is already in production. This application business logic is provided as private DLL to the root folder of application. Sometimes we may upgrade dll and place it in same physical directory. But application
is not taking reference of new dll, still it works with old dll in cache. It requires a restart of IIS server to get cache refreshed. Is there any way to refresh cache without distrubing IIS (many other application are running in same IIS.. so i wanna disturb
Please help me..
DLL IIS restart
Jul 23, 2007 04:46 AM|DavidKiff|LINK
What cache? Global assembly cache? You can access this here:
Try copy and pasting over your dll?
Jul 23, 2007 07:36 AM|HostingASPNet|LINK
You should override the dll, and if some clients work with application, they should refresh with F5 and reload the page.
Jul 23, 2007 08:28 AM|sujitm|LINK
It is not possible to refresh the DLL without restarting the IIS or at least the application pool (in IIS 6.0 and higher). I think you should use separate application pools for the applications which are upgraded very often. Then you could just stop and
start that particular application pool and all other applications running on the server would not get affected at all. In fact, this isolation was a key purpose when application pools were introduced in IIS 6.0.
Jul 23, 2007 08:34 AM|DavidKiff|LINK
It is very possible! I regularaly update my dlls without restarting IIS
Jul 23, 2007 08:35 AM|DavidKiff|LINK
ahh well it is in 2.0 :$ Not done much in 1.1
Jul 23, 2007 08:52 AM|sujitm|LINK
Yes, of course, DavidKiff. it is possible in ASP.Net 2.0 but not in ASP.Net 1.1. Do you have any good article which details how this process is carried out in ASP.Net 2.0? If yes, could you please post it here?
Jul 23, 2007 09:19 AM|DavidKiff|LINK
Theres really no need for an article, its a simple copy and paste! Cant explain it any easier? If you have added it in th GAC then you will also need to preform this copy and paste action to the dll in there!
Hope your following![:D]
Jul 23, 2007 05:05 PM|OWScott|LINK
This all depends on what type of DLL: