Skip to main content
Version: v3

WebApplication Element (Iis Extension)

Defines properties for a web application. These properties can be used for more than one application defined in a web site or vroot, by defining this element in a common location and referring to it by setting the WebApplication attribute of the WebSite and WebVirtualDir elements.
Windows Installer references
Fragment, Module, Product, WebDir, WebSite, WebVirtualDir
Inner Text
Sequence (min: 1, max: 1)
  1. WebApplicationExtension (min: 0, max: unbounded)
IdString Yes
AllowSessionsYesNoDefaultTypeSets the Enable Session State option. When enabled, you can set the session timeout using the SessionTimeout attribute. 
BufferYesNoDefaultTypeSets the option that enables response buffering in the application, which allows ASP script to set response headers anywhere in the script. 
ClientDebuggingYesNoDefaultTypeEnable ASP client-side script debugging. 
DefaultScriptEnumerationSets the default script language for the site. This attribute's value must be one of the following:
IsolationEnumeration Sets the application isolation level for this application for pre-IIS 6 applications. This attribute's value must be one of the following:
Means the application executes within the IIS process.
Executes pooled in a separate process.
Means execution alone in a separate process.
NameStringSets the name of this application.Yes
ParentPathsYesNoDefaultTypeSets the parent paths option, which allows a client to use relative paths to reach parent directories from this application. 
ScriptTimeoutIntegerSets the timeout value in seconds for executing ASP scripts. 
ServerDebuggingYesNoDefaultTypeEnable ASP server-side script debugging. 
SessionTimeoutIntegerSets the timeout value for sessions in minutes. 
WebAppPoolStringReferences the Id attribute of a WebAppPool element to use as the application pool for this application in IIS 6 applications. 
See Also
Iis Schema