未捕获的TypeError:选项不是函数 - SSRS(仅限Google Chrome)

时间:2017-05-28 08:22:55

标签: asp.net reporting-services ssrs-2012

我正在使用" Microsoft.ReportViewer.WebForms,Version = 12.0.0.0"在我的ASP.NET Web表单应用程序中。

在报告查看器中,点击"查看报告"按钮,我只在谷歌浏览器上出现JavaScript错误。我在Mozilla Firefox或Internet Explorer中没有看到任何问题。

我可以知道为什么会出现此错误,如何解决此问题?

Uncaught TypeError: options is not a function
    at Microsoft.Reporting.WebFormsClient._Toolbar.SetUIToCurrentZoomLevel (Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=12.0.2402.15&Name=ViewerScript:5062)
    at Microsoft.Reporting.WebFormsClient._Toolbar.UpdateForNewReportPage (Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=12.0.2402.15&Name=ViewerScript:4928)
    at Microsoft.Reporting.WebFormsClient._Toolbar.OnReportAreaContentChanged (Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=12.0.2402.15&Name=ViewerScript:4835)
    at Array.<anonymous> (ScriptResource.axd?d=fG_WoGPVtvzjOZg-NP_dufNAiVPwj-qauWYNYRKo6o_E16L_8ayZvvi8ykZNd_AXLvdwMWZshkfEUG…:47)
    at ScriptResource.axd?d=fG_WoGPVtvzjOZg-NP_dufNAiVPwj-qauWYNYRKo6o_E16L_8ayZvvi8ykZNd_AXLvdwMWZshkfEUG…:3484
    at Microsoft.Reporting.WebFormsClient.ReportViewer.Sys$Component$raisePropertyChanged [as raisePropertyChanged] (ScriptResource.axd?d=fG_WoGPVtvzjOZg-NP_dufNAiVPwj-qauWYNYRKo6o_E16L_8ayZvvi8ykZNd_AXLvdwMWZshkfEUG…:3701)
    at Microsoft.Reporting.WebFormsClient.ReportViewer._onReportAreaContentChanged (Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=12.0.2402.15&Name=ViewerScript:5411)
    at Array.<anonymous> (ScriptResource.axd?d=fG_WoGPVtvzjOZg-NP_dufNAiVPwj-qauWYNYRKo6o_E16L_8ayZvvi8ykZNd_AXLvdwMWZshkfEUG…:47)
    at ScriptResource.axd?d=fG_WoGPVtvzjOZg-NP_dufNAiVPwj-qauWYNYRKo6o_E16L_8ayZvvi8ykZNd_AXLvdwMWZshkfEUG…:3484
    at Microsoft.Reporting.WebFormsClient._InternalReportViewer.Sys$Component$raisePropertyChanged [as raisePropertyChanged] (ScriptResource.axd?d=fG_WoGPVtvzjOZg-NP_dufNAiVPwj-qauWYNYRKo6o_E16L_8ayZvvi8ykZNd_AXLvdwMWZshkfEUG…:3701)

1 个答案:

答案 0 :(得分:0)