AUTHOR: Stephania Tapela
DATE POSTED: September 02, 2016
Article relates to
April 18, 2017
Last modified by
Missing DOCX, XLSX, PPTX, XPS export options.
If you export programmatically, the error message will be: "X rendering format is not available", where X is DOCX, XLSX, PPTX, XPS.
The XPS rendering extension requires the Telerik.Reporting.XpsRendering.dll assembly.
DOCX/PPTX/XLSX rendering extensions are OpenXML formats and they require Telerik.Reporting.OpenXmlRendering.dll and Open XML SDK 2.0 for Microsoft Office (DocumentFormat.OpenXml.dll v.2.0.5022.0 or above).
If you are using DocumentFormat.OpenXml of version 2.5.5631.0, you will need binding redirect for the DocumentFormat.OpenXml.dll assembly - Deploy Telerik Reporting with newer OpenXML SDK version.
In newer versions the DocumentFormat.OpenXml assembly the PublicKeyToken is changed. Thus if you are using DocumentFormat.OpenXml of version 18.104.22.168 you have to reference Telerik.Reporting.OpenXmlRendering.2.7.2. For even newer versions add and the required binding redirect.
The assembly references must be added in the project that handles reports:
NOTE: If you are interested in limiting the export options, please check Limit export options in ReportViewer to certain format only.
If you are deploying in Azure with OpenXML SDK 2.5, you may need an additional configuration file listing the binding redirects from your application - WebRole starts cycling after deploying to Windows Azure.