AspScriptLanguage Metabase Property

Applies To: Windows Server 2003, Windows Server 2003 with SP1

The AspScriptLanguage property specifies the default script language for all ASP applications running on the Web server. The scripting engine for this language will be used for ASP code within the script language delimiters (<% and %>), unless specifically overridden by the following directive which must appear as the first line in any ASP page.

<%@ LANGUAGE = ScriptingLanguage %>

Note

IIS issues an error if ScriptingLanguage name is not registered on the system.

Attribute Name Attribute Value

XML Data Type

String

WMI Data Type

String

ADSI Data Type

String

ABO Data Type

String

ABO Metabase Identifier

MD_ASP_SCRIPTLANGUAGE

Attributes

INHERIT

Default Value

VBScript

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

ASP_MD_UT_APP

ID

7012

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.