AspMaxDiskTemplateCacheFiles Metabase Property

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

The value of the AspMaxDiskTemplateCacheFiles property specifies the maximum number of compiled ASP templates that can be stored. The directory that stores the compiled templates is configured by the AspDiskTemplateCacheDirectory Metabase Property property. This is a per process setting, so if ASP is hosted in more than one process, the number of files in this directory could exceed the individual maximum.

The metabase represents unlimited as the DWORD value of 4294967295 (0xFFFFFFFF); however, VBScript represents unlimited in hexadecimal format as &HFFFFFFFF. Previous versions of IIS represented unlimited as -1.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

Boolean

ADSI Data Type

SINT32

ABO Data Type

DWORD

ABO Metabase Identifier

MD_ASP_MAXDISKTEMPLATECACHEFILES

Attributes

INHERIT

Default Value

4294967295

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

iis_md_ut_wam

ID

7040

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.

AspDiskTemplateCacheDirectory Metabase Property