[This is preliminary documentation and subject to change]

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 Important    When this property if toggled from FALSE to TRUE, the application immediately restarts.

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

Attribute NameAttribute Value
Data TypeBOOL
AttributesINHERIT
Default ValueTRUE
MetaFlagsExCACHE_PROPERTY_MODIFIED
User TypeASP_MD_UT_APP
StartingNumber
EndingNumber0
ID7027

Access Locations

This property is accessible at the following locations:

Metabase PathIIS Admin Object Type
/LM/W3SVC/Info/Templates/Public Web SiteIIsWebServer
/LM/W3SVC/Info/Templates/Secure Web SiteIIsWebServer
/LM/W3SVCIIsWebService
/LM/W3SVC/1/ROOTIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISAdminIIsWebVirtualDir
/LM/W3SVC/1/ROOT/IISHelpIIsWebVirtualDir

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 typeBOOL
User typeASP_MD_UT_APP

Related Topics

AspAppRestart

© 1997-2001 Microsoft Corporation. All rights reserved.