3

I have developed SSRS report and deployed on server. The report has dropdown, based on dropdown selection report data varies since this dropdown value is passed as Parameter to report. The report works just fine when accessed directly.

Now I have integrated this report into my ASP.net MVC 3 application using ReportViewer. When report is accessed thru web application page appears to be loading correctly but when I click on View Report it shows message "Loading" for a while and then displays nothing. I'm clueless on this and not understanding this behavior at all.


UPDATE

I found solution at https://stackoverflow.com/a/2547454/287100

Community
  • 1
  • 1
pramodtech
  • 6,300
  • 18
  • 72
  • 111
  • possible that your working process is not within your SSRS group permissions you have on the report server, maybe ???? – davethecoder Jul 04 '12 at 14:33
  • @ElYusubov I appreciate your help, thanks. But I have already integrated reports in my site and the links you have given are not helpful for solving my issue. – pramodtech Jul 06 '12 at 05:33
  • @Pramodtech, this is strange that it did not work for you.what asp.net framework are you using? – Yusubov Jul 06 '12 at 11:56
  • Possible duplicate of [Viewing SSRS Reports in an ASP.net MVC Site](https://stackoverflow.com/questions/4137835/viewing-ssrs-reports-in-an-asp-net-mvc-site) – KyleMit Jun 13 '18 at 23:43

1 Answers1

6

This is a particular question where you need to combine ASP.NET web-forms with MVC, which is perfectly fine. Because, ReportViewer control won't work if you place it in an MVC view, as it requires ViewState.

How to make SSRS work? well follow this article - Incorporating ASP.NET MVC and SQL Server Reporting Services

Another post that shows benefits of combining web-forms with mvc - Viewing SSRS Reports in an ASP.net MVC Site

Community
  • 1
  • 1
Yusubov
  • 5,815
  • 9
  • 32
  • 69