Article - CS20400

Creo Parametric VB API application execution fails with error: 80040154 Class not registered exception

Modified: 04-Sep-2022   


Applies To

  • Pro/ENGINEER and Creo Elements/Pro Wildfire 4.0 to Wildfire 5.0
  • Creo Parametric 1.0 to 9.0
  • Creo Parametric VB API

Description

  • VB API application execution fails with error:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {456E0110-2031-3907-AFE5-9201C97A915E} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
  • In Excel VBA, line Dim asynconn As New pfcls.CCpfcAsyncConnection throws error:
Run-time error '429': ActiveX component can't create object
This is a printer-friendly version of Article 20400 and may be out of date. For the latest version click CS20400