Solid Edge API throw COM Exception (REGDB_E_CLASSNOTREG) using File Properties Object Library (PropAuto.dll)

2023-04-01T04:42:40Z
SE_BETA SE_TSS DOC_MANAGEMENT 3D-SKETCH Teamcenter Share TECH_PUB ASSEMBLY APPLICATION PART/SHEETMETAL DRAFT SETUP

Summary


Details

API throw COM Exception (REGDB_E_CLASSNOTREG) using File Properties Object Library (PropAuto.dll)

Solution

While attempting to execute sample code in V220, It fails with a COM Exception shown below:

COMException: Retrieving the COM class factory for component with CLSID {AED8FE60-3129-11D1-BC83-0800360E1E02} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Following are the prerequisites for using Solid Edge File properties API (PropAuto.dll).

-The application configuration should be set to x64 bit. User can do this in visual studio.

-The file should not be open in Solid Edge while reading the file properties.

KB Article ID# PL8687365

Contents

SummaryDetails

Associated Components

SE_BETA