Click here to Skip to main content
15,868,002 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I have created one application using MVC 4.0 with Razor engine but I cannot able to use SSRS Report with Razor engine because :
1. I could not add reference of Report Viewer assembly on my view page
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
2. There is not available report viewer such type of control on view pages using MVC 4.0 with Razor engine

Please help me for trouble out this.
Posted

Use only reportViewerExample folder from below link,

https://github.com/ilich/MvcReportViewer

Install the missing references using online nuget packages. Configure values for your server paths,credential in web.config (Some keys are already added in web.config after installation), also appropriate changes in view Index.chtml

Its working fine with all navigation controls, without page reload.
 
Share this answer
 
Comments
Member 8971435 9-Feb-15 23:50pm    
could u plz send the packages list need to install for reportviewer nuget provided..
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900