Creating a COM+ Event Sink Application
Creating a COM+ Event Sink Application
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
To provide a security context so that your event sink can run out-of-process on Microsoft® Exchange Server 2003, you must wrap your event sink as a COM+ component application. This is done before Registering an Event Sink.
To create a COM+ application for an event sink (Microsoft Windows® 2000 Server)
- Click Start, point to Programs, then Administrative Tools, and click Component Services.
- In Component Services, select COM+ Applications under Console Root\Component Services\My Computer.
- Right-click COM+ Applications, point to New, and click Application.
- Click Next, then click Create an empty application.
- Name the application, verify that Server application is selected, and then click Next.
- On the Set Application Identity page, click This User. Browse for an appropriate account, one that has the necessary permissions to perform the tasks in the event sink, and enter the password for this account. It is recommended that you not select the Interactive User option because the Exchange server will not normally have a user logged on interactively. Click Next and then Finish.
- Open the new application, and right-click Components in the tree view.
- Click New and then click Component.
- Click Import component(s) that are already registered.
- When the list displays, select your component, such as MyComponent.SyncEvents.1.
- Click Finish, and click OK to close Component Services.
To create a COM+ application for an event sink (Microsoft Windows Server™ 2003)
- Click Start, point to All Programs, then Administrative Tools, and click Component Services.
- In Component Services, select COM+ Applications under Console Root\Component Services\Computers\My Computer.
- Right-click COM+ Applications, point to New, and click Application.
- Click Next, then click Create an empty application.
- Name the application, verify that Server application is selected, and then click Next.
- On the Set Application Identity page, click This User. Browse for an appropriate account, one that has the necessary permissions to perform the tasks in the event sink, and enter the password for this account. It is recommended that you not select the Interactive User option because the Exchange server will not normally have a user logged on interactively. Click Next, Next, and then Finish.
- Open the new application, and right-click Components in the tree view.
- Click New and then click Component.
- Click Next and then Import component(s) that are already registered.
- When the list displays, select your component, such as MyComponent.SyncEvents.1.
- Click Next, click Finish, and click OK to close Component Services.
- Right-click on the application and select Properties.
- Select the Security tab. Uncheck the Enforce access check for this application box and select the Perform access checks only at the process level. radio button.
- Click OK.
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.