SAP Knowledge Base Article - Public

1216289 - Unable to add images to the repository in Crystal Reports.

Symptom

  • Cannot add a picture to the repository.
  • There is no option to add the image to the repository.
  • After copying and pasting a picture from one application to Crystal Reports, it is not possible to add the image to the repository.
  • Unable to add an OLE object image to the BusinessObjects Enterprise Repository in Crystal Reports.

Environment

  • Crystal Reports XI R2
  • Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013

Reproducing the Issue

  1. In Crystal Reports, create a new report, or open an existing report.
  2. Insert an image on the report by following one of the method described below:
    • Under the menu "Insert", select "OLE Object", then insert an image; or
    • Copy an image from one application and paste it in Crystal Reports.
  3. When right clicking on the image, there is no option to add the object to the repository.

Repository - 03.png

Cause

  • This occur because only bitmap file inserted as "Pictures" on a report can be added to the BusinessObjects Enterprise Repository.
  • The Repository supports storing "Image File" objects only, not OLE Objects that contain images.
  • The interface in Crystal Reports for creating and storing "Image File" objects to and from the Repository is only able to handle image file formats directly without any type of OLE object wrapper.

Resolution

  • In Crystal Reports, to add an image to the repository, insert a supported file format without an OLE object wrapper using the insert picture option:
    1. In Crystal Reports, select "Picture" under the menu "Insert"
    2. Select an image stored in a supported format. The support format are:
      • Joint Photographic Experts (JPG)
      • bitmap (BMP)
      • Tagged Image File Format (TIF)
      • Portable Network Graphic (PNG)
    3. Insert the image on the report.
    4. Right click on the image, and select "Add to Repository..."

Repository.png

 

 

Keywords

REPOSITORY IMAGE PICTURE OLE OBJECT BITMAP JPG PNG TIF BMP Crystal Reports Crystal Repository Saving objects to the repository Images , c2013782 , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem

Product

Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2011, feature pack 03 ; SAP Crystal Reports 2013 ; SAP Crystal Reports XI R2