Solved

IIS 6 on NT2k3 not generating log files

Posted on 2006-11-16
7
1,166 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

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.

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…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 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