Security: IIS Logging error: can't create directory

Security__IIS_Logging_error__can_t_create_directory_1_10_Rule (Rule)

Knowledge Base article:

Summary

IIS could not create a directory in \%windir%\system32\logfiles

Sample Event:

IIS 5: IIS Logging was unable to create the directory %1. The data is the error.

Resolutions

Check the NTFS permissions in \%windir%\system32\ and see if the FTP Service is allowed to create directories.

External

Search for articles about Internet Information Server events

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2000.ServerRole
CategoryEventCollection
EnabledTrue
Event_ID2
Event SourceIISLOG
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
Security: IIS Logging error: can't create directory
{0}
Event LogSystem
CommentMom2005ID='{1E2FFBA6-5117-11D3-87EC-0090270D4908}'

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Security__IIS_Logging_error__can_t_create_directory_1_10_Rule" Comment="Mom2005ID='{1E2FFBA6-5117-11D3-87EC-0090270D4908}'" Enabled="onStandardMonitoring" Target="Microsoft.Windows.InternetInformationServices.2000.ServerRole" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>IISLOG</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner>$Data/PublisherName$</AlertOwner>
<AlertMessageId>$MPElement[Name="Security__IIS_Logging_error__can_t_create_directory_1_10_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>