Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A COM+ server application can be created as a service to start either automatically during the system startup or manually by activations. If the service fails to start, the option for error handling specifies the severity of the error and determines the action to be taken. The option to configure a service to run as the local system account is also available, as well as the option to assign a specific user account for which the COM+ server application will run. Dependencies can also be selected from a list of services registered on the computer using Component Services. This will determine which services must be executed before this service is started.
To configure a COM+ application to run as a service
In the console tree of the Component Services administrative tool, locate the COM+ server application you want to run as a service.
Right-click the COM+ server application, and then click Properties.
In the Properties dialog box, click the Activation tab.
In the Activation type box, check the Run application as NT Service check box.
Note
The Run application as NT Service check box is enabled only for server applications and is disabled for library applications.
Click the Setup New Service button.
In the Startup type box in the Service Name dialog box, select Automatic or Manual.
(Optional) To specify the action to be taken for a particular error, select Ignore, Normal, Severe, or Critical in the Error Handling box. The behavior associated with each option is as follows:
(Optional) To set other services as dependent, select the dependent services from the list in the Dependencies box.
(Optional) To indicate that the service should be allowed to interact with the desktop, check the Allow service to interact with desktop check box.
Click Create.
(Optional) To assign the service to a user account:
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today