Service Control Manager Records Event ID 7023 In the System Log

ID: Q133010

3.51 4.00 WINDOWS NT kbprg

The information in this article applies to:

SUMMARY

The Service Control Manager records an event id 7023 into the system log when a service calls the SetServiceStatus API with the SERVICE_STATUS structure initialized in the following manner: the dwCurrentState member is equal to SERVICE_STOPPED and dwWin32ExitCode member is not equal to zero.

The following entry is written into the system log:

Event ID    = 7023
Source      = Service Control Manager
Type        = Error
Description = <name of your service> terminated with the following error:
              <description of the error>

KBCategory: kbprg KBSubcategory: BseService Additional reference words: 3.51 4.00
Keywords          : kbKernBase kbService kbGrpKernBase 
Version           : 3.51 4.00
Platform          : NT WINDOWS

Last Reviewed: December 18, 1996