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

Entry Point was Not Found

1 Answer 116 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jacob
Top achievements
Rank 1
Jacob asked on 09 Sep 2014, 03:57 PM
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()



1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 12 Sep 2014, 11:31 AM
Hello Jacob,

The provided code snippet seems to be correct. Please make sure that your reports are upgraded properly to the newer version of Telerik Reporting by running the Upgrade Wizard.

In case you need further assistance, please provide us with a runnable sample project exhibiting the problematic behavior, so we can review it locally and advise accordingly.

Regards,
Nasko
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Jacob
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or