Hi,
I have been through the docs so many times but I am really struggling to work out how to hang this together.
What I am hoping to achieve (using an in-app hosted report server as this appears to be the new, recommended method):
1. Desing reports using the standalone designer on my dev machine, pointing to my local sql server
2. Deploy the reports to a live client site and view the report in my aspx page, using a db connection configured in the client website.
What I have done so far:
1. Created a report on my dev machine which runs just fine in the standalone designer
2. Add a report viewer page to my app using the .NET template 'Telerik web Forms Report Viewer Form R2 2106'
3. This gave me a report viewer page, a Reports folder, and a ReportController class.
4. I dumped my trdp file into the \Reports folder.
5. I set <ReportSource IdentifierType="UriReportSource" Identifier="Report1.trdp"> in my report viewer page
6. Running the page, gives an error about database connection being incorrect and a whole bunch of other stuff.
What I don't get:
1. How does the report viewer form know where to find the REST service serving the report?
2. Is the ReportsController.cs all I need or do I need additional stuff to make the REST service work?
3. How do I switch the report database connection at run time?
Please help.