SQL Server 2016 CTRP3.2 Report Viewer is missing a JavaScript method

前端 未结 4 1605
暗喜
暗喜 2021-01-07 05:56

Using SQL Server 2016 CTP3.2 Report Viewer (13.0.800.111), only the toolbar is shown.

It looks like a Power BI method is missing.

Also, wil

4条回答
  •  时光取名叫无心
    2021-01-07 06:34

    To overcome broken report viewer you have to purge its files v.13.0.1601.5 from GAC and use updated ones from nuget package: Microsoft.ReportingServices.ReportViewerControl.WebForms.Preview (version 130.1700.305, published 2016-09-20).

    • Make sure you have the latest version of SQL Server Data Tools installed. Earlier versions incorrectly GAC'ed certain libraries that will cause issues.
    • The Report Viewer Control is designed to be included in projects via nuget. It's not a good idea to add the libraries to the GAC.
    • If deploying the control on an intranet site make sure that the page is targeting HTML5.

    More info at this page: https://github.com/Microsoft/Reporting-Services/blob/master/Docs/Get-Started-With-RVC.md#next-steps---read

    It works:

提交回复
热议问题