IIS 7.5 - Change Application Pool Start Mode to Always Running

自古美人都是妖i 提交于 2019-12-03 14:15:52
ADH

I found the Configuration Editor under the Management section of the IIS manager.

EDIT: startMode is in section system.applicationHost/applicationPools under applicationPoolDefaults. It can also be configured on a per-item basis in Application Pools - Advanced Settings.

In this entry http://developers.de/blogs/damir_dobric/archive/2009/10/11/iis-7-5-and-always-running-web-applications.aspx i found the answer.

To setup the pool set the attribute startMode to AlwaysRunning of the IIS config file C:\Windows\System32\inetsrv\config\applicationHost.config:

<applicationPools> 
    <add name="MyAppWorkerProcess" managedRuntimeVersion="v4.0" startMode="AlwaysRunning" /> 
</applicationPools>

And you need implements others things to reach that your App always running

If you like to have a UI, look at this link https://blogs.msdn.microsoft.com/amol/2013/01/25/application-initialization-ui-for-iis-7-5/ and download the "ApplicationInitializationInstaller_x64.zip". after install you find a new icon on the iis-manager (on the server-element).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!