Export to docx and xlsx error

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

    Posted 25 Sep Link to this post

    Hi,

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

    https://www.telerik.com/support/kb/reporting/export-reports/details/missing-docx-xlsx-pptx-xps-export-options

    Referred the article above but still got  the error

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

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

    Thanks

  2. Silviya
    Admin
    Silviya avatar
    414 posts

    Posted 30 Sep 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,
    Silviya
    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