SAP Knowledge Base Article - Public

1632776 - Error: 80040154 Class not registered

Symptom

  • Deploying a 32 bit VS .NET application to a 64 bit OS
  • Running the application results in the error:

Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))

 

Environment

  • VS2010
  • Crystal Reports for Visual Studio 2010
  • Microsoft Windows 2008 Server R2, 64 bit

Cause

  • The 32 bit application was running in a 64 bit application pool

Resolution

  • Enable 32bit application in the IIS app pool

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 application pool , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports XI R2 ; SAP Crystal Reports, developer version for Microsoft Visual Studio