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,
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?
When I go to that web page I get a 404 error. The file is in the Visual Studio Project folder where the report.igr file is as well, if that helps? How do I load the service?
The problem seems to be that the service isn't correctly referenced. In the walkthrough "How to Display a Reporting Using the HTML5 Report viewer", at step (1), where did you create the service? The HTML report viewer needs to know where the service is, in order to process the report. Error 404 means the path to the service isn't correct. The service is in another folder, or has a different name. Could you check that?
regards,
Simon
Hi Christopher, can you tell me where are you deploying? Are you deploying on IIS or on the Visual Studio Web Server? If it's IIS, which version?
thanks!
I believe I'm deploying on the Visual Studio Web server. I'm new to Visual Studio so I'm not one hundred percent sure, but from my understanding the Visual Studio Web server is the default one.