telerik.Reporting.Interfaces Error.

4 posts, 0 answers
  1. Ravi
    Ravi avatar
    15 posts
    Member since:
    Jun 2012

    Posted 15 Aug 2012 Link to this post

    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..
  2. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 17 Aug 2012 Link to this post

    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 >

  3. DevCraft banner
  4. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 17 Aug 2012 Link to this post

    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
  5. Peter
    Admin
    Peter avatar
    1611 posts

    Posted 20 Aug 2012 Link to this post

    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 >

Back to Top