MaxErrorFiles Metabase Property

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

The MaxErrorFiles property specifies the maximum number of error files. When a syntax error occurs as a result of an edit to Metabase.XML, an error file is generated in systemroot\system32\inetsrv\history. If more than MaxErrorFiles files need to be created, the oldest files are deleted to ensure that this limit is not exceeded.

Attribute Name Attribute Value

XML Data Type

DWORD

WMI Data Type

SINT32

ADSI Data Type

DWORD

ABO Data Type

DWORD

ABO Metabase Identifier

MD_MAX_ERROR_FILES

Attributes

NO_ATTRIBUTES

Default Value

10

MetaFlagsEx

CACHE_PROPERTY_MODIFIED

User Type

IIS_MD_UT_SERVER

ID

9988

Configurable Locations

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

Metabase Path IIS Admin Object Type

/LM

IIsComputer

Code Example

For general code examples, see Code Examples to Configure Metabase Properties.