SAP Knowledge Base Article - Public

2217010 - Error: "COM exception caught in CExtToolBar::UploadFromLocalFile()." when attempting to save a report from Crystal Reports to SAP BW

Symptom

  • Fail to save a report to SAP BW.
  • Unable to save a report based on a BEx Query to SAP BW.
  • When attempting to save a report from Crystal Reports to an SAP BW System, it fails with the error:
       
    "COM exception caught in CExtRoolBar::UploadFromLocalFile(). HR= 0x800004005"
    "An error occurred while trying to obtain the connection to the SAP system."
                 
    SAP BW Save Error.png

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016

Reproducing the Issue

  1. In Crystal Reports, open a report based on a BEx Query.
  2. Under the menu "SAP", select "Save Report As..."
      
             Save As.png
                       
  3. In the "SAP Logon" window, select the SAP BW System to connect to, and enter the user name and password.
  4. In the "Save a Crystal Reports to BW" window:
    • Navigate to the role under which you want to save the report.
    • Enter the report Description, and Technical Name
    • Then click "Save" to save the report.
         
      Save As - 02.png   
                 
  5. If prompted by the Save to BW options window, click "OK"
        
    It will then display the error message:
         
              "COM exception caught in CExtRoolBar::UploadFromLocalFile(). HR= 0x800004005"
              "An error occurred while trying to obtain the connection to the SAP system."
       
               SAP BW Save Error.png 

Cause

  • The SAP Netweaver Gateway configuration prevents Crystal Reports to communicate back to the SAP BW Server to save the report.  

Resolution

  • To resolve this issue, consult your SAP BASIS Administrator to update the SAP Gateway to allow your user, computer, and the Crystal Reports application to connect to the SAP System.
              
  • For more information see the SAP Note: 1408081 - Basic settings for reg_info and sec_info
          
  • If the SAP BASIS Administrator have any questions or issues setting security on the SAP Gateway, then contact SAP Product Support and create a case for the SAP Gateway, under the component: BC-CST-GW

Keywords

SAP BW, CR, Save to SAP BW, CExtToolBar error , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016