AspEnableApplicationRestart

This metabase property determines whether an ASP application can be automatically restarted.

There are two ways in which an application can be restarted. IIS 4.0 can call the application's Global.asa file; this will immediately cause the application to restart if the AspEnableApplicationRestart property is set to TRUE.

Important   When this property if toggled from FALSE to TRUE, the application will automatically and immediately be restarted.

IIS 5.0 also provides an ADSI method, AspAppRestart, which can be used to restart the application.

Data type Boolean
Default value TRUE
Inheritance Inheritable

Access Locations

This property is accessible at the following locations:

Metabase Path Key Type
/LM/W3SVC IIsWebService
/LM/W3SVC/N IIsWebServer
/LM/W3SVC/N/ROOT IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir IIsWebVirtualDir
/LM/W3SVC/N/ROOT/WebVirtualDir/WebDirectory IIsWebDirectory

IIS Admin Base Object Information

The following table lists additional information required only for code that uses the IIS Admin Base Object.

Metabase identifier MD_ASP_ENABLEAPPLICATIONRESTART
Data type DWORD_METADATA
User type ASP_MD_UT_APP

See Also

AspAppRestart