Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cant Update ActiveX Dll, IIS must still be using it

Status
Not open for further replies.

Karl Blessing

Programmer
Feb 25, 2000
2,936
US
I am trying to update an ActiveX dll, I Do nothave any browsers open, trying to access the web application, and yet I still cannot overwrite, or update the DLL, I Can register/unregister it, but that doesnt do me any good, it still sits there, and will not be removed. And I Cannot reboot the server, I need to know how I can Fix this, or I cannot continue debuging my application, or make changes. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
figured out a way I could do it, but not going to do it at this moment(created a new project, and using that DLL for now) but to make it so you can clean up any activeX unregister, and replace etc, without rebooting<br><br>from dos command line<br><br><FONT FACE=monospace><br>net pause &quot;ftp publishing service&quot;<br>net pause webserver_name<br>net stop&nbsp;&nbsp;&quot;ftp publishing service&quot;<br>net stop&nbsp;&nbsp;webserver_name<br>net stop&nbsp;&nbsp;iisadmin<br><i>do your bussiness</i><br>start back up the services above<br></font> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Karl,<br>&nbsp;&nbsp;Sometimes MTS will have the component loaded.&nbsp;&nbsp;This is what works for me:<br><br>net stop iisadmin /y<br>mtxstop<br><br>replace DLL<br><br>net start w3svc<br><br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
<b>But</b> I am not using MTS <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Dear Karl,<br><br>Make sure you have the Web Application set to run in it's own process in IIS. Then when you want to replace the DLL you can open the applications 'property' dialog and click the 'Unload' button. If your control is not registered with MTS this should work.<br><br>Good luck<br>-pete
 
the webapplication isnt an activeX being displayed, but instead an ASP , that uses the ActiveX dll for checking file versions, but if you meant ASP, I'll look into it. <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href= </a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)
 
Karl,<br>&nbsp;&nbsp;&nbsp;If you're not using MTS, you should (IMHO).&nbsp;&nbsp;Usually, when you install IIS/PWS, MTS gets installed with it.&nbsp;&nbsp;You don't have to include any MTS calls in your component to take advantage of it.&nbsp;&nbsp;MTS will manage your component using its JIT (just in time) activation.&nbsp;&nbsp;This is a BIG factor in having a truly scalable application.&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;What Pete meant is to go to the web site's properties in the MMC (Internet service manager) and click the checkbox to run in its own memory space.&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Note that this info is for IIS4.&nbsp;&nbsp;My understanding of IIS5 is that MTS is built in as an integral part of the OS.&nbsp;&nbsp;Does anybody have anyexperience with IIS5 that they can share?<br> <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>
 
Thanks Nick, <br><br>In IIS5/WIN2K the same situation, issue and solution I mentioned is still available. Com+ only changed from MTS in minor ways in terms of administration. <br><br>The major changes are performance inhancements due to architectual changes in the base system, slightly easier developement of transactional objects and a few more categories of options for some settings. It really hasn't changes all that much from a developement and/or adminstrative concepts view.<br><br>Hope this helps<br>-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top