Access denied when retrieving the COM class factory for component with CLSID - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Problem

An error occurs when using a Web Client to extract content from latest documents to which Microsoft Office files are attached.

Solution

This error occurs when the software do not have required DCOM permissions to access the Microsoft Office application. To set the DCOM configuration for the respective file type application, complete the following steps:

How can I configure DCOM (32-bit) for Microsoft Office 365?

If you are using SDx on 32-bit machine, we recommend you to set DCOM configuration for Microsoft Office 365 to display Microsoft Excel and Word applications in the DCOM list. This must be done as the applications are not displayed by default in Office 365. To display them,

  • Type the following in the Command Prompt: C:\WINDOWS\SysWOW64>mmc comexp.msc /32

This configuration is mandatory if you want to extract content from:

  • any Microsoft Office file type (97-2003) using the Data Capture Office Reader Pre-Processor.

  • Microsoft Excel file using the Data Capture Datasheet Reader Pre-Processor

  1. Click Start > Administrative Tools > Component Services.

  2. In the tree view, expand Component Services > Computers > My Computer > DCOM Config.

  3. Based on the Microsoft Office file type, locate and right-click the respective DCOM Config component service:

    • Microsoft Excel Application

    • Microsoft Word (97-2003)

    • Microsoft PowerPoint Slide (97-2003)

  4. On the shortcut menu, click Properties.

  5. In the General tab, set the Authentication Level to None.

  6. In the Identity tab, you can select The Launching User or The Interactive User option.

    We recommend you select The Interactive User option, to avoid any issue with the DCOM Config permissions.

  7. In the Security tab, set the Launch and Activation Permissions to Customize, and click Edit.

    1. Add the Administrators created by the SmartPlant Foundation Server Manager.

    2. Check the Allow check box for the following items:

      • Local Launch

      • Remote Launch

      • Local Activation

      • Remote Activation

      • Read

      • Special permissions

  8. In the Security tab, set the Access Permissions to Customize, and click Edit.

    1. Add the Administrators created by the SmartPlant Foundation Server Manager.

    2. Check the Allow check box for the following items:

      • Local Access

      • Remote Access