Solved

IIS 6 on NT2k3 not generating log files

Posted on 2006-11-16
7
1,181 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 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