Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Invalid Image - Firebird BLOB field

edited May 2012 in General
Delphi XE
Firebird 2.1
RB 14
IB Objects ib40

I have a report which works fine on my development computer from the
IDE. This computer is Win 7 64bit.

The report data is derived from a Firebird Database. One field is a BLOB
which has rtf text. The text is correctly shown when running Reports
from the IDE.

I have deployed the program to operating systems XP and Windows Server
2003. The Reports do not generate on the deployed machines returning
error message
"Cannot Generate Report. Invalid Image"

Interestingly I have previously created many Reports with TppDbRichText
components with property set to IBO/Firebird tables so I can only assume
something has changed in either Firebird, IBO or RB.

Finally, the text is correctly returned by other components (Twwdbgrid
for example) so I assume something has altered in RB creating the error
message.

Any ideas for me?

Mike

Comments

  • edited May 2012
    Can someone comment please?
    This is a showstopper and I must deploy on 10th May.
    Desperate for assistance.

    Mike


  • edited May 2012
    Hi Mike,

    I'm very sorry, we somehow lost track of this post.

    We have not heard of behavior like this before with ReportBuilder.

    What type of image are you loading from the DB (jpeg, bitmap, etc.). If
    you try a different image format do you still get the same errors? If
    you load the image directly (from file) to a TppImage component do you
    still get the same error?

    As a test, try manually streaming one of the images from your DB and
    displaying the data inside a DBImage or TImage component on a form.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2012
    My error Nico.

    For the record, I had set the BLOB sub type to 1.
    It must always be, of course, 0.

    Strange how Win7 operating system correctly interrupted the wrong type
    though.

    Mike



This discussion has been closed.