I tried using Application Initialization on both Win 2008 R2, IIS 7.5 and Windows 7, IIS 7. Its not working as expected. I downloaded the x64 version.
Source from applicationhost.config
:
<applicationPools>
<add name="MyApp" autoStart="true"
startMode="AlwaysRunning"
managedRuntimeVersion="v4.0">
</applicationPools>
<sites>
<site name="Default Web Site" id="1" serverAutoStart="true">
<application path="/MyApp" applicationPool="MyApp"
preloadEnabled="true">
</site>
</sites>
Application web.config
file:
<system.webServer>
<applicationInitialization remapManagedRequestsTo="loading.html"
skipManagedModules="true">
<add initializationPage="/default.aspx" />
</applicationInitialization>
</system.webServer>
Its not having any effect. When I restart IIS and loaded the URL in browser (localhost/.../default.aspx
) it didnt showed the loading.html
page, neither it looks like the appPool is always running\warmed up.
Also, it didnt showed the multiple instances of w3p process. Its not working.
A small video for configuring Application Initialization module on Windows 7, IIS 7 or Windows 2008 R2, IIS 7.5 would be helpful, because maybe I have missed something.