Partager via


AspEnableApplicationRestart

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.

ms525042.alert_caution(en-us,VS.90).gifImportant Note:

When this property is changed from false to true, the application immediately restarts.

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

This property is an application-level property.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

BOOL

ABO Data Type

DWORD_METADATA

Schema Default

TRUE

Internal Default

TRUE

Upper Bound

0

Lower Bound

Not specified

Internal ID

7027

Friendly ID

MD_ASP_ENABLEAPPLICATIONRESTART

Property Attributes

INHERIT

User Type

ASP_MD_UT_APP

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/W3SVC/n/ROOT/physical_directory_name

/LM/W3SVC/n/virtual_directory_name/physical_directory_name

IIsWebDirectory

/LM/W3SVC/n/ROOT

/LM/W3SVC/n/ROOT/virtual_directory_name

IIsWebVirtualDir

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also