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

telerik.Reporting.Interfaces Error.

3 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 15 Aug 2012, 08:04 PM
Hi

I added a new report to an already existing Report library  and strangely I am getting this error:

Could not load file or assembly 'Telerik.Reporting.Design.Interfaces, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be' or one of its dependencies. The system cannot find the file specified.

Can you please help me figure this issue..

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 17 Aug 2012, 10:36 AM
Hi Ravi,

The error seems to be due to an incorrect project upgrade. Please start the Upgrade Wizard manually from the Telerik menu and let it upgrade your entire solution. Rebuild your solution after that and try to add the new report again.

Greetings,
Peter
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Andy Green
Top achievements
Rank 2
answered on 17 Aug 2012, 10:54 AM
OK thanks.

Is there an example of using  - this line is raising a warning in VS - ReportViewer.ReportSource = Report. saying The implicit ReportSource conversion is obsolete, Please create InstanceReportSource instead.
But I can find any good examples on how to do this.

My code now looks like this:

Using xmlReader As System.Xml.XmlReader = System.Xml.XmlReader.Create(New System.IO.StringReader(xmlString))
 
    Dim settings As New XmlReaderSettings()
    settings.IgnoreWhitespace = True
 
    Dim xmlSerializer As New Telerik.Reporting.XmlSerialization.ReportXmlSerializer()
    Dim report As Telerik.Reporting.Report = DirectCast(xmlSerializer.Deserialize(xmlReader), Telerik.Reporting.Report)
 
    'report = xmlSerializer.Deserialize(xmlReader)
    report.Report.ReportParameters(0).Value = imagePath
    report.Report.ReportParameters(1).Value = "00bf5e42-5ca2-4fbf-9bb2-9721e87b4ca2"
 
    ''Assing the report object to the report viewer
    ReportViewer.ReportSource = report
 
 
End Using
0
Peter
Telerik team
answered on 20 Aug 2012, 07:25 AM
Hello Andy,

Check out InstanceReportSource Class help article that elaborates on the topic.

Kind regards,
Peter
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Ravi
Top achievements
Rank 1
Answers by
Peter
Telerik team
Andy Green
Top achievements
Rank 2
Share this question
or