Solved

IIS 6 on NT2k3 not generating log files

Posted on 2006-11-16
7
1,146 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
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
DNS issue 24 87
Security Certificate error 5 44
401 - Error 6 25
How to stress test an ASP.NET https website 3 44
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now