I'm trying to display a simple report with several parameters. When I tried to run as .TypeReportSource() I was getting cast errors it couldn't convert to an IReportDocument... so I changed to .InstanceReportSource()
it finds the report, sets it... all the parameters set then I get Entry point was not found. inside the ReportViewer once it launches.
It is probably also important to note that I am currently upgrading my version of telerik from Q3 2012 to Q2 2014. I've attached a capture of the screen I am getting.
This is my source code:
Dim Report As New Telerik.Reporting.InstanceReportSource
Report.ReportDocument = New FarmListWrapper()
Report.Parameters.Add(New Telerik.Reporting.Parameter("UserId", UserContext.Current.UserId))
Report.Parameters.Add(New Telerik.Reporting.Parameter("CustomerId", UserContext.Current.DisplayCustomerId))
Report.Parameters.Add(New Telerik.Reporting.Parameter("CustomerName", UserContext.Current.DisplayCustomer.CustomerName))
Report.Parameters.Add(New Telerik.Reporting.Parameter("StateId", Nothing))
Report.Parameters.Add(New Telerik.Reporting.Parameter("CountyId", Nothing))
ReportViewer1.ReportSource = Report
ReportViewer1.RefreshReport()
it finds the report, sets it... all the parameters set then I get Entry point was not found. inside the ReportViewer once it launches.
It is probably also important to note that I am currently upgrading my version of telerik from Q3 2012 to Q2 2014. I've attached a capture of the screen I am getting.
This is my source code:
Dim Report As New Telerik.Reporting.InstanceReportSource
Report.ReportDocument = New FarmListWrapper()
Report.Parameters.Add(New Telerik.Reporting.Parameter("UserId", UserContext.Current.UserId))
Report.Parameters.Add(New Telerik.Reporting.Parameter("CustomerId", UserContext.Current.DisplayCustomerId))
Report.Parameters.Add(New Telerik.Reporting.Parameter("CustomerName", UserContext.Current.DisplayCustomer.CustomerName))
Report.Parameters.Add(New Telerik.Reporting.Parameter("StateId", Nothing))
Report.Parameters.Add(New Telerik.Reporting.Parameter("CountyId", Nothing))
ReportViewer1.ReportSource = Report
ReportViewer1.RefreshReport()