stlcours Posted August 9, 2011 Posted August 9, 2011 Even I find that all clients have closed their browsers, I cannot update the dll file. So how I can solve this problem? Only by stop the IIS by my hand, then update? Shown as picture1: Another question, why my dll file work in virtual folder, but it doesn't work in the main floder(C:\Inetpub\wwwroot\Project33.dll), why? Another question, can we throw off it's the name of the file dll?(I set it by default for visit, but it doesn't work) so we can visit by www.exemple.com Shown as picture2: Thx a lot! Quote
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Posted August 9, 2011 Even I find that all clients have closed their browsers, I cannot update the dll file. So how I can solve this problem? Only by stop the IIS by my hand, then update? Shown as picture1: Closing browser doesn't terminate sessions. Even if you terminate all sessions IIS will not unload DLL module until you manually do this. Another question, why my dll file work in virtual folder, but it doesn't work in the main floder(C:\Inetpub\wwwroot\Project33.dll), why? IIS doesn't allow this. Another question, can we throw off it's the name of the file dll?(I set it by default for visit, but it doesn't work) so we can visit by www.exemple.com Shown as picture2: For this you need some URL rewriting. I don't know the details but you can search web for IIS and URL rewriting. Quote
stlcours Posted August 9, 2011 Author Posted August 9, 2011 thanks! But it is not easy to always stop the IIS manually in a remote machine. You don't really have a rather solution? Quote
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Posted August 9, 2011 thanks! But it is not easy to always stop the IIS manually in a remote machine. You don't really have a rather solution? I'm not aware of any other solution. I update my dlls this way. Quote
zilav Posted August 9, 2011 Posted August 9, 2011 You don't need to stop entire IIS to update you dll file, only Application pool associated with it. It can be done remotely http://serverfault.com/questions/223496/recycle-remote-iis-app-pool-from-the-command-line Quote
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Posted August 9, 2011 You don't need to stop entire IIS to update you dll file, only Application pool associated with it. It can be done remotely http://serverfault.c...he-command-line Yes, I was about to post this. Recycling Application Pool in IIS 7will unload the dll. Quote
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Posted August 9, 2011 I'm not aware of any other solution. I update my dlls this way. Recycle Application Pool. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.