Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
135
Image from DataSource doesn't load
posted

I'm using Infragistics 14.2 in an ASP.NET Web Forms project (4.5). I copied over a report from a 14.1 project and updated all the data bindings. However, the report fails to load an image from the database.

I tested to see if it pulled the correct image record (it does, I can have a label display the image Id, etc.), but instead of displaying the image (from binary data) it shows a URL like: https://localhost:12345/477c4e45-3670-4d2d-be03-e2bf27fcffeb/image.1.False.igrResource

The resource guid in the URL changes every time, but the end of the URL (image.1.False.igrResource) is always the same.

In my Web.config, I noticed some changes between 14.1 and 14.2. My current 14.2 project has a different handler name (14.1 used "IgReportingResourcesHandler" and had an additional parameter: resourceType="Unspecified"). Everything else works fine, though, so I don't know what the issue is.

<handlers>
      <add name="ReportResourceHandler" path="*.igrResource" verb="*" type="Infragistics.Reports.Server.ResourcesHandler, InfragisticsWPF4.Reports.Server.v14.2, Version=14.2.20142.1016, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
    </handlers>