Undefined request to server by using HTML5 viewer

Stimulsoft Reports.Web discussion
Post Reply
CannyDua
Posts: 5
Joined: Mon Sep 09, 2019 8:11 pm

Undefined request to server by using HTML5 viewer

Post by CannyDua » Mon Sep 09, 2019 8:17 pm

Hi,

Undefined request send to server When i show the report in HTML5 viewer.

Image

Image
Lech Kulikowski
Posts: 1759
Joined: Tue Mar 20, 2018 5:34 am

Re: Undefined request to server by using HTML5 viewer

Post by Lech Kulikowski » Mon Sep 09, 2019 11:43 pm

Hello,

Could you explain your issue in more details?

Thank you.
CannyDua
Posts: 5
Joined: Mon Sep 09, 2019 8:11 pm

Re: Undefined request to server by using HTML5 viewer

Post by CannyDua » Tue Sep 10, 2019 7:18 am

Hi,

I try to show the report in mvc by place viewer in the Razor viewer with StiMvcViewer.
When user try to view the report, the report is shown but one error has been occurred:
Failed to load resource: the server responded with a status of 404 (Not Found) undefined:1
This error has been appear in console chrome log.

When I clicked on this error, undefined object is displayed in "Image" categories with this address: "hxxp://localhost:14106/undefined" (DevTools -> Application Tab)
Undefined object is displayed in Network Tab, too and when click on Initiator column value, below JavaScript code is displayed:
32f933e6-fe9f-4ebe-a091-3eb78e077b0a.png
32f933e6-fe9f-4ebe-a091-3eb78e077b0a.png (44.68 KiB) Viewed 73 times
32f933e6-fe9f-4ebe-a091-3eb78e077b0a.png
32f933e6-fe9f-4ebe-a091-3eb78e077b0a.png (44.68 KiB) Viewed 73 times
Attachments
32f933e6-fe9f-4ebe-a091-3eb78e077b0b.png
32f933e6-fe9f-4ebe-a091-3eb78e077b0b.png (45.27 KiB) Viewed 73 times
Lech Kulikowski
Posts: 1759
Joined: Tue Mar 20, 2018 5:34 am

Re: Undefined request to server by using HTML5 viewer

Post by Lech Kulikowski » Tue Sep 10, 2019 2:34 pm

Hello,

We couldn't reproduce the issue.
Please send us a simple project which reproduces the issue for analysis.

Thank you.
Lech Kulikowski
Posts: 1759
Joined: Tue Mar 20, 2018 5:34 am

Re: Undefined request to server by using HTML5 viewer

Post by Lech Kulikowski » Tue Sep 10, 2019 2:42 pm

Hello,

Also, please clarify do you have the following image in the collection.

Thank you.
Attachments
photo_2019-09-10_16-40-59.jpg
photo_2019-09-10_16-40-59.jpg (152.97 KiB) Viewed 60 times
CannyDua
Posts: 5
Joined: Mon Sep 09, 2019 8:11 pm

Re: Undefined request to server by using HTML5 viewer

Post by CannyDua » Tue Sep 10, 2019 3:26 pm

Lech Kulikowski wrote:
Tue Sep 10, 2019 2:42 pm
Hello,

Also, please clarify do you have the following image in the collection.

Thank you.
Hello,

Not. Doesn't exists any item like Dashboards.*.png

Thank you.
CannyDua
Posts: 5
Joined: Mon Sep 09, 2019 8:11 pm

Re: Undefined request to server by using HTML5 viewer

Post by CannyDua » Tue Sep 10, 2019 3:39 pm

Hello,

Resolved this problem by added this NuGet: Stimulsoft.Dashboards.Web
I think that for simple web app without any dashboard it is enough to add two NuGet (Stimulsoft.Reports.Web and Stimulsoft.Reports.Engine).

Very Thanks.
Lech Kulikowski
Posts: 1759
Joined: Tue Mar 20, 2018 5:34 am

Re: Undefined request to server by using HTML5 viewer

Post by Lech Kulikowski » Tue Sep 10, 2019 3:45 pm

Hello

Please let us know if you need any additional help.

Thank you.
Post Reply