This is a migrated thread and some comments may be shown as answers.

Compatible ASP.NET AJAX version for Reporting 5.0.11.316

1 Answer 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Quan Nguyen
Top achievements
Rank 1
Quan Nguyen asked on 01 Apr 2011, 06:54 PM
Hi,
I have this error "Unable to cast object of type 'RTLReportViewer.reportTemplates' to type 'Telerik.Reporting.IReportDocument'." when trying to open a Telerik.Reporting report on a webpage. The report is designed/created withTelerik.Reporting 5.0.11.316 version and the aspx page is using Register Assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921. I have no problem displaying  reports designed inTelerik.Reporting 4.1.10.921 version.


My question is which version of ASP.NET AJAX  i should use to show the report correctly?


Thanks
Quan


1 Answer, 1 is accepted

Sort by
0
Farouk
Top achievements
Rank 1
answered on 04 Apr 2011, 02:25 PM
Hey Quan,

No, the Web-ReportViewer is also a part of the Report-Assembly, not of the ASP.NET AJAX.

So the solution should be, to use this line:
Register Assembly="Telerik.ReportViewer.WebForms, Version=5.0.11.316

regards,
basti
Tags
General Discussions
Asked by
Quan Nguyen
Top achievements
Rank 1
Answers by
Farouk
Top achievements
Rank 1
Share this question
or