stlcours Posted August 9, 2011 Share 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! Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Share 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. Link to comment Share on other sites More sharing options...
stlcours Posted August 9, 2011 Author Share 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? Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Share 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. Link to comment Share on other sites More sharing options...
zilav Posted August 9, 2011 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Share 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. Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 9, 2011 Administrators Share Posted August 9, 2011 I'm not aware of any other solution. I update my dlls this way. Recycle Application Pool. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now