Setting Execution Permissions

If you are executing Excel adapters on a station being run as a Windows service, you must have launch and activation permissions for Microsoft Excel®.

See Also
About the Excel Adapter
Mapping Between Parameters and Cells
Running Excel Macros
Using Advanced Options
  1. Click the Start button, and click Run.

    The Run dialog box appears.

  2. Type dcomcnfg in the Open text box, and click OK.

    The Component Services dialog box appears.

  3. Click Component Services on the left side of the dialog box.

    Folder options appear on the right side of the dialog box.

  4. Double-click the Computers folder, and double-click the My Computer icon.

    Additional folders appear.

  5. Double-click the DCOM Config folder.

    The contents of the folder appear.

  6. Right-click the Microsoft Excel Application icon, and select Properties.

    The Microsoft Excel Application Properties dialog box appears.

  7. Click the Security tab.

    The contents of the tab appear.

  8. In the Launch and Activation Permissions area, click Customize, and click Edit.

    The Launch Permission dialog box appears.

  9. Click Add.

    The Select Users, Computers, or Groups dialog box appears.

  10. In the Enter object names to select text box, type the user name (be sure to include the computer/domain name).

    Note: You can click Check Names to verify that the user name you entered is valid. Click Advanced to search for the name. If the user name you specify matches more than one known user, the Multiple Names Found dialog box appears, allowing you to pick the exact user.

  11. Click OK.

    The Launch Permission dialog box with the user name you entered appears in the list at the top of the dialog box.

  12. In the Permission for <user_name> area, select the following in the Allow column:
    • Local Launch

    • Local Activation

  13. Click OK.

    The Microsoft Excel Application Properties dialog box appears.

  14. Click OK.

    The Component Services dialog box appears.

  15. Close the dialog box.