ilich / MvcReportViewer

ASP.NET MVC Html Helpers for ReportViewer Control.
MIT License
282 stars 131 forks source link

Feature Suggestion: SQL Server 2016 #184

Open sven5 opened 8 years ago

sven5 commented 8 years ago

Hi,

I'm currently using SSRS with SQL Server 2016. Microsoft implemented a new ReportViewer.aspx on the server with a new design that better integrates in modern MVC Apps. It would be great if you can implement it.

The toolbar now looks like this: image

Edit: Perhaps Microsoft will release a new version of ReportViewer client-side controls for SSRS 2016. As of today, there is no new release and one has to use the 2015 controls with old design.

ilich commented 8 years ago

Thank you for the idea. I will take a look once I have time to do maintenance for the project. Pull requests are always welcome! :-)

sven5 commented 7 years ago

Hi ilich,

big news on this: Microsoft release a preview of new SSRS 2016 ReportViewer controls. See NuGet package: https://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.WebForms.Preview/

Source: https://social.msdn.microsoft.com/Forums/en-US/e6aa7b90-44fe-4c2f-8f29-7a7f355d1429/ssrs-2016-are-we-going-to-have-a-new-report-viewer-control-in-net-?forum=sqlreportingservices

That means it could work out -of-the-box with MvcReportViewer project. I'm just trying it.

dave-007 commented 7 years ago

Am trying same, seems like MVCReportViewer depends on version 11, can't get it to take v13:

Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

dave-007 commented 7 years ago

Have it working, added in web.config under configuration/runtime/assemblyBinding:

  <dependentAssembly>
    <assemblyIdentity name="Microsoft.ReportViewer.WebForms" publicKeyToken="89845dcd8080cc91" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
  </dependentAssembly>
ilich commented 7 years ago

Thank you for the update! I will have to add this to NuGet scripts.

dave-007 commented 7 years ago

Am seeing some issues with the report dialog after render. Anyone else seeing this? image

dave-007 commented 7 years ago

Firebug reports a 404 on resource on rendering: "NetworkError: 404 Not Found - http://myhostname/Reserved.ReportViewerWebControl.axd?OpType=BackImage&Version=13.0.1601.5&Color=%23ECE9D8&Name=Microsoft.Reporting.WebForms.Icons.toolbar_bk.png"

ilich commented 7 years ago

It seems that Microsoft fixed several issues they had in the previous report. I built a few workarounds to be able to use the viewer in Chrome and FF. Anyway, I will have to build new version for Report Viewer 2016. Thank you for the update.

sven5 commented 7 years ago

Hi there,

Just for reference, the Microsoft Reporting Services github Page can be found here: https://github.com/Microsoft/Reporting-Services

You can report any issues to Microsoft directly: Report Control Feedback RVCFeedback@microsoft.com I also have some issues with WebForms ReportViewer Control. It seems that it's still under (heavy) development.

Regards Sven