Reporting Services & Excel – File error: data may have been lost.

If you try exporting a Reporting Services RDL report containing our Barcode Professional CRI product to Microsoft Excel and get this error:

“File error: data may have been lost.”

then you are experiencing a known bug of Excel regarding bitmap images (bmp format). This likely happens when you configure our Barcode CRI to render barcodes in BMP format. To solve the issue, just change the ImageFormat property to ONE of the following formats: GIF, JPEG or PNG

Advertisements

2 Responses to Reporting Services & Excel – File error: data may have been lost.

  1. rahultechie says:

    I was facing similar issue where I changed embedded images into external images. In this change some of the images Bit depth property remain as 32 (Click on Property -> Details tab).

    I changed it Bit depth to 24 by using imagemagick utility (http://www.imagemagick.org/script/binary-releases.php).

    I used “convert -depth 24 oldimage.bmp newimage.bmp” command to change Bit depth property.

    And this solve my problem.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: