Hello,
When i publish API on IIS Server with WebDeploy, everytime i have to stop and Start the site in IIS Manager before publish.
Somebody get a solution, to stop and start the site on IIS before click on publish ?
Frédéric DAvid
Hello,
When i publish API on IIS Server with WebDeploy, everytime i have to stop and Start the site in IIS Manager before publish.
Somebody get a solution, to stop and start the site on IIS before click on publish ?
Frédéric DAvid
Thank's Chris,
Do you think it's possible to execute the .bat when you start the publish ? With some deploy parameter ?
Fred.
Hi Frédéric;
That's a side effect of the way IIS "caches" various files to obtain better performance. Due to that feature after a deployment you must perform an IIS "restart" to have it drop the cached files & then pick-up the new deployed files.
Note that this was always the case with a PowerServer 2020 Web or Mobile deployment. The same is true now with the new PowerServer 2021 Restful WEB API deployment as well.
Tip: You can automate the IIS restart with a .Bat file using for example: " iisreset /restart ". There are also other DOS commands that will do the job as well. A little Googling will expose those other options as well. HTH
Regards ... Chris