Jump to content

How to update the dll file when it is in use?


stlcours
 Share

Recommended Posts

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!

post-228-0-03359100-1312887539_thumb.jpg

post-228-0-51665000-1312887547_thumb.jpg

Link to comment
Share on other sites

  • Administrators

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...