Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

No request to initialization page issued on app pool recycle.

$
0
0

I have created a simple web application hosted under the Default Web Site. Please see the global and local setting below.   

 

If I understand correctly the way the Application Initialization Module works, I am expecting IIS to issue a request to appinit.aspx (https://machinename/alwaysrunning/appinit.aspx) to initialize the application. This is however never happening.

Any ideas?

What is the purpose of the attribute initializationPage?

Any help with this would be greatly appreciated.

 

EDIT: I found out that when I disable the Require SSL option the module issues a request to appinit.aspx as expected.  Now a simplified question: Does Application Initialization Module support SSL at all?

Thanks!

Zen

  

Global settings in the applicationHost.config file:

<add name="appinit" autoStart="true" startMode="AlwaysRunning">
                <recycling logEventOnRecycle="Time, Requests, Schedule, Memory, IsapiUnhealthy, OnDemand, ConfigChange, PrivateMemory">
                    <periodicRestart requests="0" time="00:05:00">
                        <schedule>
                            <clear />
                        </schedule>
                    </periodicRestart>
                </recycling>
                <processModel identityType="NetworkService" idleTimeout="00:00:00" />
</add>

 <application path="/alwaysrunning" preloadEnabled="true" applicationPool="appinit">
                    <virtualDirectory path="/" physicalPath="C:\inetpub\wwwroot\alwaysrunnig" />
</application>

Local settings in application's web.config file:

<applicationInitialization remapManagedRequestsTo="splashscreen.htm" skipManagedModules="true" >
                    <add initializationPage="/appinit.aspx" />
</applicationInitialization> 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>