Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MvcReportViewerExample references TestReports/TestReport which is not included in the source code #161

Open
ericburcham opened this issue Feb 23, 2016 · 6 comments

Comments

@ericburcham
Copy link

Great tool. Thanks MUCH for developing it.

I have forked the repo, downloaded it, opened the solution, and configured it to run against my local SSRS Report Server. I immediately ran into a problem.

In ReportViewerExtensions.SetupRemoteProcessing, I hit this line of code:
serverReport.SetParameters(parameters.ReportParameters.Values);

When that line executes, I get an exception: The item '/TestReports/TestReport' cannot be found.

I know how to publish reports to my local report server, but after an exhaustive search of the repository, I cannot find any report named TestReport, nor can I find any .rdlc file named TestReport.rdlc.

If I am missing something, please let me know. Otherwise, please include the TestReport you are using so people can run the examples :)

Cheers,

Eric Burcham

@ilich
Copy link
Owner

ilich commented Feb 23, 2016

Please configure your report server in https://github.com/ilich/MvcReportViewer/blob/master/MvcReportViewerExample/Web.config ( configuration section).

The report URLs are set in the views, e.g. https://github.com/ilich/MvcReportViewer/blob/master/MvcReportViewerExample/Views/Home/Index.cshtml

I hope it helps.

@ilich ilich closed this as completed Feb 23, 2016
@ilich
Copy link
Owner

ilich commented Feb 23, 2016

I am going to submit my test reports to simplify the process.

@ilich ilich reopened this Feb 23, 2016
@ilich ilich added this to the 0.8.4 milestone Feb 23, 2016
@ericburcham
Copy link
Author

I built a test report today when I was messing around with this again. I'll send you a pull request with JUST that report project in it. Feel free to take or leave it without offending me. It is just the simplest possible report that will work with the examples and deploys to TestReports/TestReport.

😃 If you like yours better, by all means, publish that one instead.

@ilich
Copy link
Owner

ilich commented Feb 25, 2016

Sure. Please submit a pull request! 👍

@ericburcham
Copy link
Author

Pull request created here. Thanks again for building this thing, and especially for staying involved.

@pablo17sanchez
Copy link

can i load local rdl??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants