Link to home
Start Free TrialLog in
Avatar of pete_c
pete_c

asked on

Spurious event log error messages

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?
Avatar of FlamingSword
FlamingSword

There are several services that are interdependent. Likely you have set some to manual that others can still point to. How's indexing? For example. Shut them all down.
FlamingSword, I don't really see how ceasing all services will help. There are no services dependent on the ftp, smtp and web services. These are dependent on the IIS Admin service, but that does seem to start anyway, even though it is set to manual. Indexing is set to manual and doesn't start.
ASKER CERTIFIED SOLUTION
Avatar of hstiles
hstiles

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pete_c

ASKER

Thanks, hstiles, that seemed to do it. I thought of perfmon previously but I hadn't configured it to query those services for performance data. I guess it tries to load those performance counters by default.