I have a report that contains an image control. If I hard-code the reference to a .jpg file the report previews from my windows application correctly. The image is displayed (so I know it's not a permissions issue). When I use a relative reference, from a query, in the value field of the image control, the image does not display. It display the red x.
However, when I preview the report in MS Visual Studio, the report works with the relative reference. Somehow VS is rendering the report in the correct way and my application is not.
My application has a form with a Microsoft.Reporting.WinForms.ReportViewer control on it. So far it
has rendered all the reports correctly, except for the relative reference image. I've set the EnableExternalImages to true, but that didn't help. Plus, my reports are not local.
Does anyone have suggestions for how to get my report viewer form to render the report correctly?
Also, when I copy the exact same image control inside the body, both image controls display the correct image.