Skip to content
logo Knowledgebase

Error: "Unable to cast COM object" in Sage 100 2017 and earlier

Created on  | Last modified on 

Summary

The error occurs when printing or previewing a report or form from a workstation in Sage 100 2017 or earlier.

Description

Error detail

Error: "Unable to cast COM object of type 'CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass' to interface type 'CrystalDecision.ReportAppServer.Controllers.ISCRReportSource'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{GUID}' failed due to the following error: Type mismatch. (Exception from HRESULT:0x8002802A (Type_E_WRONGTYPEKIND))."

Cause

Crystal Reports issue in older Crystal Reports version prior to Crystal Reports 2016 (used in Sage 100 2018 and later).

Resolution

 NOTE: The older download is no longer available from SAP. This link redirects to the SAP site — http://downloads.businessobjects.com/akdlm/crnetruntime/clickonce/CRRuntime_32bit_13_0_18.msi.

  • Select and Install Support Pack 18 "32bit.msi"
  • Download and Install from SAP
    1. Go to the SAP Crystal Reports Download page
    2. Make the following selection:
      • Software Product = SAP Crystal Reports, version for Visual Studio
      • Product Version = SAP Crystal Reports, developer version for Microsoft Visual Studio
      • Software Type = CV_VP
    3. Click 'Go'
    4. Download and Install 32-bit of the desired CR Runtime version (i.e. 'CR for Visual Studio SP18 CR Runtime 32-bit')

 

Related Solutions

Error: "Unable to cast COM object of type" when printing in Sage 100 2017 and earlier versions after installing Sage 100 2018 or later versions