Image Not Showing Up in Report

Posted by: dellis on 1 December 2020, 7:53 pm EST

    • Post Options:
    • Link

    Posted 1 December 2020, 7:53 pm EST - Updated 30 September 2022, 4:53 pm EST

    I made a rdlx report with as an external image, however, when I run the report via the JSViewer, the image is not found. The image is in the correct path. I also tried setting as an embedded image, and I’m have the same issue.

    When I check the console log, I’m getting a 404 for a PNG file, I assume this is my image.

  • Posted 2 December 2020, 3:30 am EST

    Hello,

    Will you try after replacing the handler in the Web.config with the following handler:

    <add name="nostaticfile" path="api/reporting/*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
    </handlers>
    

    Thanks.

    Mohit

  • Posted 2 December 2020, 12:47 pm EST

    Thanks much Mohit, this worked!

  • Posted 2 December 2020, 12:49 pm EST

    I did the following however, but it looks like it will work the same:

    <location path="api/reporting/view">
       <system.webServer>
         <handlers>
           <add name="nostaticfile" path="*" verb="GET" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
         </handlers>
       </system.webServer>
     </location>
    
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels