I am developing with Visual Studio 2008 SP 1 and IE7 on Windows Vista Ultimate SP1. I am trying to use Report Viewer 2008/v9.0 with a LocalReport in an ASP.NET 3.5 web application. I currently have the References for Microsoft.ReportViewer.Common and Microsoft.ReportViewer.WebForms configured for local copy, and both Microsoft.ReportViewer.Common.dll and Microsoft.ReportViewer.Webforms.dll are copied to the \bin folder when I build the solution; both DLL's are version 9.0.30729.1 (determined by the information displayed when hovering over them in Windows Explorer).
The results...
When I run the report in debug mode using my Visual Studio, or when I run it in IIS6 on my production Windows 2003 R2 Server, the report is generated and displays in the Report Viewer. However, I am experiencing the following three (3) problems: the report generates an error on load, the toolbar's functionality is reduced, and the toggle buttons don't work.
Problem 1...
When the report is first loaded, the error:
Microsoft JScript runtime error: Object doesn't support this property or method"
...is trapped:
Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=9.0.30729.1&Name=Microsoft.Reporting.WebForms.Scripts.ReportViewer.js
...and the code breaks in my Visual Studio debugger in the above .js file on:
"function OnReportLoaded(reportObject, reloadDocMap)" on line "this.CustomOnReportLoaded();"
...but will continue and display the report if I just allow the program to run.
Problem 2
Only the export and refresh buttons on the toolbar work. The other buttons do nothing that I can see when I click on them, no errors are being detected and trapped when ran in debug mode.
Problem 3
The toggle buttons (provided when you check the checkbox "Edit Group -> Visibility -> Visibility can be toggled by another report item") display [+] and keep displaying [+] even after clicking them, they don't display/toggle the information they should display/toggle when I click on them, and clicking on them causes this error:
Microsoft JScript runtime error: Object doesn't support this property or method"
...trapped in:
Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=9.0.30729.1&Name=Microsoft.Reporting.WebForms.Scripts.ReportViewer.js
...and the code breaks in my Visual Studio debugger in the above .js file on:
"function PerformClientSidePageChange(url)" on line "this.CustomOnAsyncPageChange();"
Can anyone assist?
Cheers.