Under Review
Last Updated: 18 Feb 2021 10:31 by ADMIN
Hakim
Created on: 11 Feb 2021 13:38
Type: Bug Report
0
Image doesn't appear in report viewer because getresource api path have header in it
after report viewer load , picture box is giving error internal server error .

i figure out the issue that my api is crash due to header is missing in this url .

kindly suggest me what should i do to resolve this issue  , how to add header in giving api 

api/reports/clients/5344b9acb49/instances/7775d1f9944/documents/133d0da1ce597ad792f356/resources/e3949b7f06e640b888683f5173637591/



1 comment
ADMIN
Dimitar
Posted on: 18 Feb 2021 10:31

Hi Hakim,

The HyperText Transfer Protocol (HTTP) 500 Internal Server Error server error response code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request. This error response is a generic "catch-all" response and from that alone, it is hard to pinpoint the exact issue that is causing this error.

Could you give more information on what type of project do you have? Is this only happening with one report or it is appearing on all that have PictureBox?  Could you please send us a SAZ file generated from Fiddler

In the meantime, you can have a look at the following links which I think may help:

Add custom auth headers to html reportviewer

Add a custom response header in ApiController

- How to Pass Custom Headers Along with Report Viewer REST API Calls from Angular Application

I look forward to receiving an update from you.

Regards,
Dimitar
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.