angular report viewer working local in VS, but blank after deploy IIS

1 Answer 282 Views
.NET 5 Report Viewer - Angular
Hu
Top achievements
Rank 1
Hu asked on 26 May 2021, 04:29 AM

net core 5, angular 9, telerik REST service, working fine on local when debug in VS

but after deploy, it  showing loading, then showing No page to display, no error.

tested api/reports/formats working, report calling backend api working, just not showing report.

any help pls

 

1 Answer, 1 is accepted

Sort by
0
Plamen Mitrev
Telerik team
answered on 26 May 2021, 12:15 PM

Hello Hu Wang,

I am sorry to hear about the issue you encountered when deploying the report and I will work with you to help you resolve it.

As you mentioned, there is "No page to display" message, when you deploy the report in the viewer. This could mean that there is something wrong with the connection string or data, but since there is no content to display, we don't see the actual problem. Please set the property "SkipBlankPages" to False and deploy the report once again. Let me know what happens and if there are any new errors.

It can also be helpful, if you install the Fiddler Jam extension then generate a log and share it with me. This will give me a better understanding of what is happening.

I remain available to continue our discussion and advise you further.

Regards,
Plamen Mitrev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Hu
Top achievements
Rank 1
commented on 26 May 2021, 04:42 PM | edited

thx for reply, i found the problem

currently we pass a dynamic web api url into the report. and we use relative path '/api' in environment file for all links, after change it to absolute path, it works now
Plamen Mitrev
Telerik team
commented on 27 May 2021, 11:29 AM

I am happy to know that you managed to find and fix the issue. Have a great day ahead!
Tags
.NET 5 Report Viewer - Angular
Asked by
Hu
Top achievements
Rank 1
Answers by
Plamen Mitrev
Telerik team
Share this question
or