Howto update DLL without restarting IIS 
Author Message
 Howto update DLL without restarting IIS

How can I update a registered DLL without stoping web services on Windows2000 server ?



Sun, 23 Nov 2003 18:54:38 GMT  
 Howto update DLL without restarting IIS

Create a COM+ package, put your dll's in there. When you need to recompile, you shutdown the package, compile and off you go. You don't need to restart, the next call to the object will start the package.

John

  How can I update a registered DLL without stoping web services on Windows2000 server ?



Tue, 25 Nov 2003 04:10:38 GMT  
 Howto update DLL without restarting IIS

that's great. thank you...

  Create a COM+ package, put your dll's in there. When you need to recompile, you shutdown the package, compile and off you go. You don't need to restart, the next call to the object will start the package.

  John

    How can I update a registered DLL without stoping web services on Windows2000 server ?



Tue, 25 Nov 2003 14:49:04 GMT  
 Howto update DLL without restarting IIS
well, u can't... (=
except if u register the dll to MTS or COM+ (component services in win2k) ,
then u can just shutdown the package your component is in.. much faster than
restarting IIS..

hope it helps..


Quote:
>How can I update a registered DLL without stoping web services on

Windows2000 server ?


Mon, 24 Nov 2003 22:50:13 GMT  
 Howto update DLL without restarting IIS

You should also be able to go to the Virtual Directory or WebSite in IIS and click the "Unload" button.  This should unload all application components and dependencies and then you should be able to replace your components.

-MNEELY

  that's great. thank you...

    Create a COM+ package, put your dll's in there. When you need to recompile, you shutdown the package, compile and off you go. You don't need to restart, the next call to the object will start the package.

    John

      How can I update a registered DLL without stoping web services on Windows2000 server ?



Fri, 28 Nov 2003 23:38:38 GMT  
 Howto update DLL without restarting IIS
If you configure IIS to run your site in a seperate
process you can unload the dlls and then replace them.

Regards,

James.

http://www.siteknowhow.com - Makers of PathSecure - Easy password
protection for you website.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 30 Nov 2003 03:07:50 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. How do I restart W95 without bringing up the login dialog at restart

2. Stopping DLL without restarting the machine

3. Updating a Database with an Activex DLL in an ASP with IIS

4. Updating .dll in IIS applications

5. restart IIS and MTS from a script.

6. IIS Restart...

7. Restarting IIS from within a .vbs

8. how can i restart IIS programatically?

9. howto do a restart

10. updating after recompiling a dll on NT4 server without restarting?

11. Howto Set the IIS default document with vbscript?

12. HOWTO: Accessing Network Files from IIS Applications

 

 
Powered by phpBB® Forum Software