I'm having Telerik.Reporting.OpenXmlRendering.dll, DocumentFormat.OpenXml.dll in my dev server. But while executing the report, its showing the error, 'DOCX rendering format is not available.'. But when I tried to debug in my local pc, its working fine.
Please help me on this...
Thanks,
Mahesh O A
5 Answers, 1 is accepted
Forgot to mention the DLL version in the previous post.
DLL versions of my dev server,
DocumentFormat.OpenXml.dll - 2.0.5022.0
Telerik.Reporting.dll - 6.2.12.1017
Telerik.Reporting.OpenXmlRendering.dll - 5.1.11.713
Thanks,
Mahesh O A
All Telerik assemblies should be from the same version e.g. you should upgrade Telerik.Reporting.OpenXmlRendering.dll to 6.2.12.1017.
Greetings,
Steve
the Telerik team
HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Having same exact issue, can see Word reporting export locally in VS Dev, but not at when published at Azure.
Can see PowerPoint, and XPS and Excel at export options at Azure. Can see word export in grids.
Web.config has
<Telerik.Reporting>
<Extensions>
<Render>
<Extension name="PDF" visible="true"></Extension>
<Extension name="XLS" visible="true"></Extension>
<Extension name="CSV" visible="true"></Extension>
<Extension name="RTF" visible="true"></Extension>
<Extension name="XPS" visible="true"></Extension>
<Extension name="DOCX" visible="true"></Extension>
<Extension name="XLSX" visible="true"></Extension>
<Extension name="PPTX" visible="true"></Extension>
<Extension name="MHTML" visible="true"></Extension>
<Extension name="IMAGE" visible="true"></Extension>
<Extension name="HTML5" visible="true"></Extension>
<Extension name="HTML5Interactive" visible="true"></Extension>
</Render>
</Extensions>
</Telerik.Reporting>
can see all but Word.
7.2.13.1016 - all reporting dlls are same version and included, and marked copy local
VS2013,
DocumentFormat.OpenXml 2.5.5631.0 (copy local)
Thanks for any help!
The DOCX rendering extension uses the capabilities of Open XML SDK 2.0 for Microsoft Office. Thus our suggestion is to use the DocumentFormat.OpenXml.dll provided with our local examples, instead of using the installed version. The assembly can be found by default under C:\Program Files (x86)\Telerik\Reporting <Version>\Examples\bin.
In addition, in your configuration you have made visible some multi-stream rendering options hidden intentionally from the ReportViewer export options. If you need them you will have to handle the export programmatically as illustrated in the following help article: Exporting Report Programmatically (Exporting a report to a multi document format).
I hope this information helps you.
Regards,
Stef
Telerik
New HTML5/JS REPORT VIEWER with MOBILE AND TOUCH SUPPORT available in Telerik Reporting Q3 2013! Get the new Reporting version from your account or download a trial.
Yes, that worked ! Thank you !
I removed the extra items in config MHTML, IMAGE, HTML5,HTML5Interactive:
I replaced the DocumentFormat.OpenXml.dll with the one from the Telerik Reporting Examples bin (which I did not have installed)
So do not use the DocumentFormat.OpenXml.dll that is located here 'C:\Program Files (x86)\Open XML SDK\V2.5\lib'
Then I re-published to Azure and Word was available in the export drop down now.
Best Regards and thanks for your help!