This is a migrated thread and some comments may be shown as answers.

HTML5 Report Viewer shows "loading..." when using domain, but works when using localhost

6 Answers 200 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Al
Top achievements
Rank 1
Al asked on 21 Nov 2016, 07:42 PM

Using http:\\localhost the report runs fine

Using http:\\<domain> all I get is the loading...

I know that the "loading..." comes from the HTML and that the Telerik report viewer is driven by JQUERY so it must be some issue with IIS and the Telerik component but I can't figure out what and I don't know how to diagnose further

I searched this forum and tried various solutions to similar situations but when this happens (just shows "loading...") but

1) I'm not getting any errors in the Server Windows log

2) Fiddler doesn't show any problems (unless I am not looking in the right place)

 

6 Answers, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 22 Nov 2016, 11:58 AM
Hi Al,

Please check the following:
  1. Relative paths to CSS and JS files. they must be adjusted based on the project structure and hosting environment e.g. add/remove '/' and/or '~' - MSDN article ASP.NET Web Project Paths.
  2. If the viewer's templateUrl is set, check if the HTML file is deployed.
  3. Check the Reporting REST service's Storage configuration and if the application has read/write permissions for the cache folder/database -  REST Service Storage.

More details about the error can be found in the browser's console (F12). Then check if the error is mentioned in HTML5 Viewer Troubleshooting.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Al
Top achievements
Rank 1
answered on 28 Nov 2016, 10:13 PM

Major breakthrough!

Still doesn't work on IE 11 when I use <domain>:<port> (it does work when I use localhost:<port>)

The major breakthrough is when I did <domain>:<port> in Chrome it works?

Is it some kind of security setting with IE 11?

0
Stef
Telerik team
answered on 29 Nov 2016, 11:21 AM
Hi Al,

Please download Fiddler and run it in parallel to the application in browser. Check the failing requests and their responses in Fiddler>Inspectors>Request|Response>Raw tabs. If it is a CORS issue, enable CORS for the Reporting REST service.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Al
Top achievements
Rank 1
answered on 29 Nov 2016, 02:27 PM

Thanks for the speedy response. I have tried fiddler multiple times and I don't see it giving me any response data that is helpful.

I open the browser. I open fiddler. I put in the URL (and press return). I highlight the corresponding entry in Fiddler. I go to Inspections --> Response --> Raw

All I see is the resulting HTML but no errors or useful diagnostics

Interestingly if I hit refresh I see in Fiddler the fetches for the css and scripts and they also simply echo information that shows no errors. such as from kendo.blueopal.min.css:

HTTP/1.1 304 Not Modified
Accept-Ranges: bytes
ETag: "0a72369659cf1:0"
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
Date: Tue, 29 Nov 2016 14:18:22 GMT

0
Al
Top achievements
Rank 1
answered on 29 Nov 2016, 08:54 PM

Also I tried the CORS and it made things worse. After I did that it wouldn't run from localhost

Attempt by security transparent method 'System.Web.Http.GlobalConfiguration.get_Configuration()' to access security critical type 'System.Web.Http.HttpConfiguration' failed.

I'm sure it has to do with some security wrt IE 11 and the environment,  js etc.

0
Stef
Telerik team
answered on 30 Nov 2016, 04:27 PM
Hi Al,

Known limitations of IE are the number of links to CSS files and the number of HTML elements on the page. From reporting point, the IE browser must run in a Standard rendering mode - Browsers and limitations.

Test loading only once jQuery 1.9.1 (the minified version) and verify that the loaded Kendo UI CSS files are of the same version as the Kendo UI JS file. Also test including the protocol and the host in all paths, instead of using the relative paths. And finally, test running the application on other machine in IE browser, preferably on a machine out of the current network in case security settings prevent files to be loaded in browser.


In order to investigate further we will need a demo project that reproduces the problem, that can shared through a private support ticket.

Regards,
Stef
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Al
Top achievements
Rank 1
Answers by
Stef
Telerik team
Al
Top achievements
Rank 1
Share this question
or