1793439 - Error: "COM exception caught in CExToolbar::GenerateNewTemplate", when trying to create a report off a BEx Query in Crystal Reports

SAP Knowledge Base Article - Public

1793439 - Error: "COM exception caught in CExToolbar::GenerateNewTemplate", when trying to create a report off a BEx Query in Crystal Reports

Symptom

  • Unable to create a report off a BEx Query.
  • In Crystal Reports, when attempting to create a report based off a BEx Query using the SAP Toolbar, it fails with the error:
        
     "COM exception caught in CExtToolbar::GenerateNewTemplate(). HR = 0x80040154"

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
        
  • SAP GUI 7.3

Reproducing the Issue

  1. In Crystal Reports designer, create a new report from SAP toolbar.
  2. Login to the SAP BW server.
  3. It then fails with the error: 
        
    "COM exception caught in CExToolbar::GenerateNewTemplate()"

Cause

  • Crystal Reports require the sAP BW 3.5 AddOns components to work. By default, the BW 3.5 AddOns components are not present with SAP GUI 7.3.

Resolution

  • Uninstall the SAP GUI 7.3, and then install the SAP GUI 7.2 with SAP BW AddOns
    1. Uninstall the SAP GUI 7.3
       
    2. Install SAP GUI 7.2 with the SAP BW 3.5 ADDON.
         
    3. Repair the installation of Crystal Reports designer.

Keywords

COM exception caught in CExtToolbar::GenerateNewTemplate(). HR=0x80040154, SAP KIT, BW addon , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011