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

Stream Read Error

edited April 2009 in General
I am opening a report recorded in the database (binary format). To save this
report is being generated the error "Stream Read Error".

I am sending attached the error caught by MadException see that the error
happens in TppDBPipeline.SetFieldFromStream. How can I fix it?

My environment is Delphi 2007, ReportBuilder Enterprise 11.04, Sybase 7.

In Delphi 7, ReportBuilder 10, Sybase 7 the same routine works without
errors.

Regards

Ueliton

Comments

  • edited April 2009
    >I am opening a report recorded in the database (binary format). To save

    Are you using BDE to connect to Sybase?

    www.digital-metaphors.com/rbWiki/Data_Access/Troubleshooting/BLOB_Errors_in_Old_BDE


    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited April 2009
    I increased the two parameters (BlobsToCache and MaxBlobSize) informed of
    the article, but the error continues.

    Yes, I use the BDE to connect to Sybase.

    Thanks

    Ueliton


  • edited April 2009
    And also use the same configuration of the BDE with Delphi 7 and
    ReportBuilder 10 and works. Not only is working with the Delphi 2007 and
    ReportBuilder 11.04.

    Compile the same project in both. Only the Delphi generates error 2007.

    Regards

    Ueliton


  • edited April 2009


    You might try adding RBuilder\Source and Delphi\Lib\Debug to you library
    patch and tracing the source code for RB 10.x versus RB 11.x and the
    underlying VCL code as well. I do not think the relevant RB source code has
    changed.

    1. Can you try a test using RB 11.04 and D7. Does that work?

    2. If you are using the optimized ReportExplorer.ItemTemplatePipeline
    property to connect to a separate plItemUpdate and qryItemUpdate, then check
    the qryItemUpdate.Params property. If the datatype gets set incorrectly it
    can cause issues. You can also try a simpler example that does not use the
    optimization.

    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.