Solved

IIS 6 on NT2k3 not generating log files

Posted on 2006-11-16
7
1,188 Views
Last Modified: 2008-01-09
I have IIS 6 on Windows 2003 Server.  Logging is turned on for the website and configured to write logs to C:\WINDOWS\system32\LogFiles\W3SVC1 folder.  Logs are scheduled for hourly writes.

The logs are not getting written.  

0
Comment
Question by:mjmarlow
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
7 Comments
 
LVL 7

Author Comment

by:mjmarlow
ID: 17957114
No entries in the Application or System event logs indicating any trouble.
The site is used.
What could be wrong?
0
 
LVL 10

Expert Comment

by:AndresM
ID: 17958213
check if system account has full control on C:\WINDOWS\system32\LogFiles
0
 
LVL 7

Author Comment

by:mjmarlow
ID: 17959138
Yes it does and did.  To isolate security from the equation, i moved the log folder to a location where all my applications (including IIS applications) write logs using Log4net.  I even loosened security to that folder allowing "users" read/write/execute/modify. Still nothing.
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 7

Author Comment

by:mjmarlow
ID: 17959158
To clarify:  "System" has full control over that folder.  
0
 
LVL 10

Accepted Solution

by:
AndresM earned 500 total points
ID: 17959245
Are you sure Enable Logging is checked in the properties of the site?
IIS write its log in chunks; if you access the site, and then you reset IIS, it should dump the log to disk, can you try that?
0
 
LVL 7

Author Comment

by:mjmarlow
ID: 17959844
Logging is enabled.  Log file configured to be written in 1 hour chunks.  Lots of activity on the site.  Still no log files.    

0
 
LVL 7

Author Comment

by:mjmarlow
ID: 17963266
I deleted the web site and created a new web site.  Now logging works.  Thanks for your ideas!
0

Featured Post

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question