AspEnableApplicationRestart Metabase Property
Applies To: Windows Server 2003, Windows Server 2003 with SP1
The AspEnableApplicationRestart determines whether an ASP application can be automatically restarted. When changes are made to Global.asa or metabase properties that affect an application, the application will not restart unless the AspEnableApplicationRestart property is set to true.
Important
When this property is changed from false to true, the application immediately restarts.
IIS also provides an ADSI method, IIsWebDirectory.AspAppRestart, which can be used to restart the application. For more information about this method, see the IIS ADSI Provider reference section of the IIS Software Development Kit (SDK)
Attribute Name | Attribute Value |
---|---|
XML Data Type |
Boolean |
WMI Data Type |
Boolean |
ADSI Data Type |
Boolean |
ABO Data Type |
Boolean |
ABO Metabase Identifier |
MD_ASP_ENABLEAPPLICATIONRESTART |
Attributes |
INHERIT |
Default Value |
true |
MetaFlagsEx |
CACHE_PROPERTY_MODIFIED |
User Type |
ASP_MD_UT_APP |
ID |
7027 |
Configurable Locations
You can configure this property at the following locations in the IIS metabase.
Metabase Path | IIS Admin Object Type |
---|---|
/LM/W3SVC/n/ROOT /LM/W3SVC/n/ROOT/virtual_directory_name |
IIsWebVirtualDir |
/LM/W3SVC/n |
IIsWebServer |
/LM/W3SVC |
IIsWebService |
/LM/W3SVC/n/ROOT/physical_directory_name /LM/W3SVC/n/virtual_directory_name/physical_directory_name |
IIsWebDirectory |
Code Example
For general code examples, see Code Examples to Configure Metabase Properties.