CastleSoft Posted September 19, 2014 Posted September 19, 2014 I thought this might be handy for anyone with an IIS box that needs to update a UniGUI ISAPI dll and not STOP/START the IIS Webservice. Attached is an ISAPILoader.zip file containing the Delphi Source code + Binaries. (source is google). Its easy to use. 1) Grab the NON_DEBUG and rename it to the name you like. (ie.. MySuperApp.dll ) 2) Rename your UNIGUI DLL to the same name with a .RUN extension. (ie.. MySuperApp.run ) At this point deploy as normal. The ISAPI Loader will load the .RUN file. Now to upgrade the UNIGUI ISAPI DLL, simply place your app with a .UPDATE extension. (ie. MySuperApp.update) In < 10 secs it will see the update, unload the old version. Rename the .run file as .backup and rename the .update to .run No requirement for Stopping/Starting the IIS Service to unload the DLL. Andrew Click here for the ISAPILOADER.zip 3
Administrators Farshad Mohajeri Posted September 20, 2014 Administrators Posted September 20, 2014 Thanks for sharing. Actually in IIS you dont need to start stop the service. Recyclying the app pool is enough. Anyway, doing it using your proposed tool seems to be lot easier. 1
Anthoni Posted September 21, 2014 Posted September 21, 2014 Recyclying the app pool is enough Can you explain how to do this please ?
Administrators Farshad Mohajeri Posted September 21, 2014 Administrators Posted September 21, 2014 Can you explain how to do this please ? Open IIS manager. Go to Application Pools. Select the Application Pool which runs your uniGUI app. Press Recycle.
herculanojs Posted July 11, 2016 Posted July 11, 2016 Hello I'm testing ISAPI Loader and I came across a problem that I do not understand. If squeegee normal isapi application, it runs quietly. However when I try to run using the ISAPI Loader it downloads the application and does not run. The folder where is the application is released with all rights. I'm testing a windows server 2008 R2 server. I tested on a windows machine 8.1 and worked quietly, just in windows server 2008 could not result. Could you help me? Tanks
Sherzod Posted July 12, 2016 Posted July 12, 2016 Hi, Can you check,did you install unigui extjs runtime on your server ?
Administrators Farshad Mohajeri Posted July 12, 2016 Administrators Posted July 12, 2016 Hi, What is "ISAPI Loader" in the first place?
herculanojs Posted July 12, 2016 Posted July 12, 2016 Hi, What is "ISAPI Loader" in the first place? http://www.eggcentric.com/isapiloader.htm
herculanojs Posted July 12, 2016 Posted July 12, 2016 Hi, Can you check, did you install unigui extjs runtime on your server ? With my application built on isapi, already operates normally. Is downloaded only use the method described in this post, isapiloader to update the .dll. It seems anything related to security on windows server 2008, as in my local machine on the local IIS server, the update works.
Administrators Farshad Mohajeri Posted July 12, 2016 Administrators Posted July 12, 2016 We have not checked uniGUI DLL compatibility with this tool yet.
herculanojs Posted July 12, 2016 Posted July 12, 2016 In tests we conducted in an environment with Windows 8.1 and IIS ran smoothly. Only in windows server 2008 r2 is that when running the browser, it downloads the inves to run the application. I saw in some forums someone talking about ISAPI safety criteria, but all I could find to grant permission in IIS I ever did.
Administrators Farshad Mohajeri Posted July 12, 2016 Administrators Posted July 12, 2016 It is because "run" it is not recognized as a registered module format in IIS.
Kattes Posted June 21, 2021 Posted June 21, 2021 Hi, can someone please share with me a working link to ISAPILOADER.zip ? Thank you!
Kattes Posted June 30, 2021 Posted June 30, 2021 @ Sherzod, do you still have access to a file, which was shared here? I am suffering under the situation that I cannot replace cached DLLs running under IIS (Windows Server 2016). The app pool solution does not work proper due to the fact that it clears the complete application cache folder, which then ends in multiple errors on the client side afterwards. Kind regards, Kattes
Marlon Nardi Posted June 30, 2021 Posted June 30, 2021 2 hours ago, Kattes said: @ Sherzod, do you still have access to a file, which was shared here? I am suffering under the situation that I cannot replace cached DLLs running under IIS (Windows Server 2016). The app pool solution does not work proper due to the fact that it clears the complete application cache folder, which then ends in multiple errors on the client side afterwards. Kind regards, Kattes Hi Kattes, if you are interested in my solution, it already does this: https://store.falconsistemas.com.br/?filter=updateriis
Kattes Posted July 6, 2021 Posted July 6, 2021 Thanks Marlon, I will have a look at your solution and probably will buy it. 1
Recommended Posts