SQL Server 2016 CTRP3.2 报表查看器缺少 JavaScript 方法 [英] SQL Server 2016 CTRP3.2 Report Viewer is missing a JavaScript method

查看:32
本文介绍了SQL Server 2016 CTRP3.2 报表查看器缺少 JavaScript 方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 SQL Server 2016 CTP3.2 报表查看器 (13.0.800.111),只显示工具栏.

似乎缺少 Power BI 方法.

另外,报告查看器会有 NuGet 吗?

解决方案

要解决损坏的报告查看器,您必须从 GAC 清除其文件 v.13.0.1601.5 并使用 nuget 包中的更新文件:

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, will there be a NuGet for Report Viewer?

解决方案

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:

这篇关于SQL Server 2016 CTRP3.2 报表查看器缺少 JavaScript 方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆