Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
445
Cannot connect to data, using ASP.Net MVC Application / HTML5 Viewer
posted

Hi, I'm having trouble connecting to my data in my report that I have created using Visual Studio 2012.  I followed the walkthrough for "Creating a Simple Tabular Report" which was very simple.  I then followed the "How to Display a Reporting Using the HTML5 Report viewer"  which is where I'm encountering errors.  I have the HTML5 Report Viewer loading properly, but the data never fills in.  The Report Viewer throws the error Cannot establish connection with the Report Server.  The console in Google Chrome states that there is a 404 error, 

I believe I have followed everything properly.  I have one Visual Studio Project with all the necessary files, report, reportService, and then the proper web files.   Any suggestions will be greatly appreciated.

Parents
  • 550
    posted

    Hi Christopher,

    Is the service loaded? If you open this page: http://localhost:60178/ReportService1.svc ; does it show the service?

    The server URI is also composed by the endpoint 'ajaxAddress'.

    The viewer render settings should look:

         renderSettings: {
                                definitionUri: '/Report1.igr',
                                serviceEndpointUri: '..../Services/ReportService.svc/ajaxAddress/'
                            }

    Can you please check if this is OK?

Reply Children