Export to docx and xlsx error

2 posts, 0 answers
  1. Robin
    Robin avatar
    4 posts
    Member since:
    Sep 2012

    Posted 25 Sep 2019 Link to this post


    I am trying to export programmatically to docx and xlsx  using Report Processor but get the error rendering format is not available error message.


    Referred the article above but still got  the error

    I am using Telerik.Reporting ,Telerik.Reporting.OpenXmlRendering and Document.OpenXML 2.0.5022.0

    Please  provide me a sample project with the reference dlls rendering in word and xlsx.


  2. Silviya
    Silviya avatar
    440 posts

    Posted 30 Sep 2019 Link to this post

    Hi Robin,

    If the project uses ReportProcessor instance, assembly references must be added in that project's configuration file. Since you are using DocumentFormat.OpenXML version 2.0.5022.0, it is not necessary to add binding redirects. The only thing that I should note is that the references need to have their CopyLocal property to true., so they could be copied in the bin directory.

    Please check the attached project for reference. The exported DOCX file could be found in the temp folder.

    Best Regards,
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top