Share via


AspDiskTemplateCacheDirectory Metabase Property

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

AspDiskTemplateCacheDirectory contains the name of the directory that ASP uses to store compiled ASP templates to disk after overflow of the in-memory cache. If the default directory is changed, then the administrator must ensure that the identity of the processes running Asp.dll has been assigned full control rights to the new directory. Typically, the identity of the processes running Asp.dll is the IWAM_USER and System accounts.

AspDiskTemplateCacheDirectory can only be set to a local path. ASP template caching fails if this property is set to a UNC or mapped network path.

Attribute Name Attribute Value

XML Data Type

EXPANDSZ

WMI Data Type

String

ADSI Data Type

EXPANDSZ

ABO Data Type

EXPANDSZ

ABO Metabase Identifier

MD_ASP_DISKTEMPLATECACHEDIRECTORY

Attributes

INHERIT

Default Value

%windir%\system32\inetsrv\asp compiledtemplates

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

iis_md_ut_wam

ID

7036

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.