Windows Server 2003
I have two issues (one smaller, one larger). The smaller issue is that I went into IIS, went to the properties of my web server, checked the “Enable Logging” checkbox, clicked the properties button and specified a path for the log files. The path is to a newly created folder on a non-system internal drive. But no log files are created – the folder is empty after 24 hours. And I have had traffic to this web site (I have database records created by web apps that prove it).
I restarted IIS in case it was required. No help there. I made sure that the Admin group and System had full perms to the dir. Are any other permission settings required? I have set the logs to restart when they reach 49MB.
That’s the smaller issue. The larger issue is that IIS has recently started to hang occasionally. No error logs are written to the system or application log files (and in fact the system is running very well and has no issues at all). But everything will be going well for maybe 5 days of continual traffic. And then IIS will hang. I will have to restart IIS. At that point everything will be fine again. I have a few new asp apps, but they are really really similar to existing apps and I don’t see any real problems.
How do I go about troubleshooting IIS hangs that are intermittent and which write no information to the system log files? I don’t think the IIS log files mentioned above contain any really useful troubleshooting information (or at least very likely useful).
I need to know which app is hanging and what is happening when it hangs.
I'll award points for figuring out the IIS log issue - because that is cut and dry. But love and good karma to anyone who can help with the more general issue : )