![]() ![]() The following sample shows configuration of application initialization. Specifies the application to be initialized upon application restart. Specifies whether the managed modules are loaded ( false) or not loaded ( true) during initialization. Specifies a page to remap a request to during application initialization. Note that this is different than the preLoadEnabled attribute in the application element, which specifies that the initialization process is started after a restart of the application pool. Specifies that the initialization process is initiated automatically whenever an application restart occurs. The element is configured at the server, site, or application level. Click initializationPage and set it to a URL for the application. In the Collection Editor, to add an application to be initialized, click Add, click hostName, and then set hostName to the name of the host. To specify the application or applications to be initialized upon application restart, click the (Collection) line and then click the ellipsis. To specify that the initialization process is initiated automatically whenever an application restart occurs, set doAppInitAfterRestart to true. If you do not want to load managed modules, set skipManagedModules to true. To specify the name of a static file to be returned during initialization, set remapManagedRequestsTo to the name of the file. If you selected the server, select system.webServer/applicationInitialization in the Section text box. If you selected a site, select Web.config in the From text box, and then select system.webServer/applicationInitialization in the Section text box. In the Home pane, double-click the Configuration Editor feature. In the Connections pane, select the server, or expand the server, expand Sites, and then select a site. Click Administrative Tools, and then double-click Internet Information Services (IIS) Manager.Hold down the Windows key, press the letter X, and then click Control Panel.On the taskbar, click Server Manager, click Tools, and then click Internet Information Services (IIS) Manager. ![]() If you are using Windows Server 2012 or later: Open Internet Information Services (IIS) Manager: How To How to configure application initialization Expand Internet Information Services, expand World Wide Web Services, expand Application Development Features, and then select Application Initialization. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |