Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 832980 - Last Review: December 3, 2007 - Revision: 1.3
An event ID 15006 error occurs and logging fails while IIS 6.0 is logging
While Microsoft Internet Information Services (IIS) 6.0 is logging, the following event message is logged in the system log:
Event Type: Error
Event Source: HTTP
Event Category: None
Event ID: 15006
Description: Owner of the log file or directory FileName or DirectoryName is invalid. This could be
because another user has already created the log file or the directory.
When this problem occurs, no data is logged.
This problem occurs because ownership of the file or of the directory that is identified in the system event message has been changed from the default group. By default, the group is the Administrators group.
To resolve this problem, apply the correct permissions to the log file that is mentioned in the event log message:
- In Microsoft Windows Explorer, locate the directory that is referenced in the event log message. By default, the location is %SystemRoot%\System32\LogFiles\.
- Right-click the directory, and then click Properties.
- Click the Security tab, and then click Advanced.
- Click the Owner tab.
- In the Change owner to list, select the Administrators group.
If you do not see the Administrators group, click Other Users or Groups, type ComputerName\administrators, and then click OK.
Note ComputerName is a placeholder for the name of your computer. - Click to select the Replace owner on subcontainers and objects check box, and then click OK two times.
For additional information about IIS logging, click the following article number to view the article in the Microsoft Knowledge Base:
814870Â
(http://kbalertz.com/Feedback.aspx?kbNumber=814870/
)
IIS 6.0 log management documentation
For additional information about custom HTTP error messages, click the following article number to view the article in the Microsoft Knowledge Base:
814869Â
(http://kbalertz.com/Feedback.aspx?kbNumber=814869/
)
Custom error messages in IIS 6.0
APPLIES TO
- Microsoft Internet Information Services 6.0
| kbpending kbserver kbbug KB832980 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate