When you develop COM+ applications, the principal tasks include designing Component Object Model (COM) components to encapsulate application logic and integrating these components into a COM+ application. You can integrate the components into an existing COM+ application, or you can create a new (empty) application for the components. You can use the Component Services snap-in to create new, empty COM+ applications.
You cannot install a COM+ server application on computers running operating systems earlier than Microsoft Windows® 2000. A COM+ server application requires a platform that supports Component Services.
The minimum configuration for an application is one in which security is not required. If security is required for the application, use the Component Services snap-in to set process-level security, or add users to predefined roles after the application has been created.
Membership in Administrators, or equivalent, is the minimum required to complete this procedure. Review the details in "Additional considerations" in this topic.
|To create a new COM+ application|
Open Component Services.
In the console tree, locate the COM+ Applications folder that is associated with the computer on which you want to create the application.
Right-click the COM+ Applications folder, point to New, and then click Application.
In the COM+ Application Install Wizard, click Next.
On the Install or Create a New Application page, click Create an empty application.
On the Create Empty Application page, type a name for the new application. Under Activation Type, click either Library application or Server application, and then click Next.
On the Set Application Identity page, under Account, click an account that the application identity will be set to, and then click Next.
The default selection is Interactive user. The interactive user is the user who is logged on to the Windows account for the computer that runs the application. To choose a different user, click This user, and then enter the information for a specific user or group.
On the Add Application Roles page, click Add role to specify any roles that you want to create for the application. By default, a single role named CreatorOwner is created.
To add the desired users to the roles that you have created, on the Add Users to Roles page, double-click a role name, click the Users folder, and then click Add. By default, your user account is added to the CreatorOwner role.
Click Next, and then click Finish.
The new application now appears in the console tree.
- Component Services is no longer in
Administrative Tools. To open Component Services, click
Start. In the search box, type dcomcnfg, and then
- To perform this procedure, you must be a
member of the Administrator role on the target computer's System
Application. In the default configuration, only local computer
administrators are assigned to this role. For more information, see
- If you want unauthenticated network users to
run a COM+ application, the application roles must include the
Anonymous user. In Microsoft Windows Vista®, by default the
Anonymous user is not included in the Everyone group. You can add
this type of user in the COM+ Application Install Wizard when you
install or create a new application. In the wizard, on the Add
Application Roles page, click Add role, type ANONYMOUS
LOGON, and then click OK.