Spurious event log error messages
Posted on 2002-04-08
I run IIS 5.0 on Windows 2000 to test web pages. I don't serve web pages to external clients so, for added security, I have set the ftp, smtp, web, and iis admin services to start manually. That way, I can run them when I need to test a site, and keep them shut down for most of the time.
However, since doing this, I am getting errors in the event log that read:
Unable to query the W3SVC (HTTP) service performance data. The error code returned by the service is data DWORD 0.
Event ID: 1003
I get the same messages relatng to the ftp and smtp services. I'm assuming this is because a service is attempting to get performance data from the above services but can't, because they are shut down.
I have attempted to get round this by adding a registry key under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application for each of these services. For the web service, the added key is HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application\W3Ctrs\DependOnService, and the value is W3SVC. I would assume that this would mean no event logging is attempted unless the web server service is running. However, I'm still getting these error messages.
Can anyone give a hint as to why I'm getting these messages and what to do to prevent them?