Solved

IIS 6 on NT2k3 not generating log files

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

895 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

21 Experts available now in Live!

Get 1:1 Help Now