Several pictures from database does not shown RRS feed

  • Question

  • I have a ReportViewer control in ASP.NET, .NET 2.0.
    Local processing, external images enabled.
    I put a table to the report, with one column, which contains az image, mimetype set to jpeg, value=Fields!file_data.Value
    file_data is from a data source, which is filled up by a query. File_data field in the database set to "image" and contains images.

    If I use the above configuration, I got the following error when try to render the report:
    Non-negative number required.
    Parameter name: value

    If I change the image value to First(Fields!file_data.Value) then it works. But it displays only the first picture, several times (naturally).

    If I put another cell with the value Fields!file_data.Value.ToString() then it shows: System.Byte[] is all cases, so it contains the image information for sure.

    I tried to play with the mimetype, but it doesn't matter.

    What can be wrong?
    Friday, May 4, 2007 1:33 PM

All replies

  • Ok, maybe I found something. If I left out a specific picture, it works. So somehow it cannot convert one picture from a database but all others.
    Friday, May 4, 2007 1:43 PM