0

I have two projects Research and ResearchReports in a solution called Research. The Research project is fully functional and I now need to look into the reporting aspect.

I followed How to add a Report Server project to a Visual Studio Solution and have created a report:

Image showing report created

I've been trying to find out how to enable such reports to be visible within the front end of the Research project. One suggestion was to add the created report to the Research project as an 'Existing Item'.

Adding an existing item

I created a 'Reports' view and added the report using this method:

Showing report added to a View in another project

I then edited the _Layout.cshtml to add a link to the Research project's home page:

<li class="nav-item">
    <a class="nav-link text-purple" href="/Reports/OutstandingDocuments">Reports</a>
</li>

I'm getting this when I run the solution.

localhost page cannot be found

Please help me sort this out.

1
  • 1
    The OutstandingDocuments.rdl is not a view, so it is expected that the page won't show. Unless you have to create a controller action, read the RDLC datasource, generate the report as PDF/XLS, and return file stream response. Commented Oct 6 at 0:28

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.