MaxErrorFiles Metabase Property (IIS 6.0)
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.
You can configure this property at the following locations in the IIS metabase.
For general code examples, see Code Examples to Configure Metabase Properties.