Kendo could not be loaded automatically error.
Environment
Product | Progress® Telerik® Reporting |
Application Type | Web Application |
Report Viewer | HTML5 Report Viewers |
Description
The error is displayed in the browser console when the report viewer loads.
'The Reporting REST Service cannot be accessed' message appears in the report viewer.
Error Message
- On the page, in the report viewer:
Cannot access the Reporting REST service. (serviceUrl = '/api/reports').
Make sure the service address is correct and enable CORS if needed. (https://enable-cors.org)
- In the browser console:
Kendo could not be loaded automatically. Make sure 'options.serviceUrl' / 'options.reportServer.url' is correct and accessible.
The error is: undefined
Cause
A slim build of jQuery is referenced on the page. The slim version saves weight by excluding the ajax and effects modules.
Solution
Reference a compressed(min) or an uncompressed version of the full jQuery(minimum required version 1.9.1).