Solved

Spurious event log error messages

Posted on 2002-04-08
4
148 Views
Last Modified: 2010-04-13
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?
0
Comment
Question by:pete_c
4 Comments
 
LVL 3

Expert Comment

by:FlamingSword
ID: 6925820
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.
0
 

Expert Comment

by:Pete_C
ID: 6927752
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.
0
 
LVL 13

Accepted Solution

by:
hstiles earned 50 total points
ID: 6927855
i think the error is related to performance monitor and the fact that it is unable to query the services to get performance information.

If you are only using the locally installed service to test pages, you could try disabling performance monitoring for the services in question.

Try the following article for more information

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q152513
0
 

Author Comment

by:pete_c
ID: 6928507
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.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adprep 12 84
Visual C++ Runtime Error on Windows 2000 Server 2 1,541
Need to recover old Windows backup files in Windows 7 6 676
Video card with drivers for Windows 2000 8 149
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
ConnectWise and their customers need to ensure critical alerts automatically reach the right person at the right time. MSP superheros efficiently respond to these alerts key is providing automatic, intelligent alerting that generates a complete audi…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

828 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