SSRS 2008 data bound image is not working

  • Hi All,

    I am trying to include a Data bound image in SSRS 2008, have followed the same steps given in microsoft technet link http://technet.microsoft.com/en-us/library/dd239367.aspx but image is not displaying, it just gives a cross mark image indicating image not available.

    Request for suggestions.

    Thanks

    Sravan

  • Found out how to do it via these two links:

    Bascially this guy came up with an SSRS expression that works:

    forums.devarticles.com/.../displaying-image-fields-in-reporting-services-11844.html

    An this guy make me realise what the guy above was on about plus the fact that AX does its own thing to OLE headers on images:

    http://www.hakasolutions.com/.../Insert-Company-logo-in-SSRS-reports-AX

    But to save your frustration all you need is this:

    System.Text.Encoding.Default.GetBytes(Mid(System. Text.Encoding.Default.GetString(Fields!Picture.Value),8))

    The 8 is the starting postion for the Mid function as AX for some stupid reason slaps 7 useless characters leading the bitmap string.

    --Sravan

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply