This is a migrated thread and some comments may be shown as answers.

Report Export to DOCX

5 Answers 544 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mahesh
Top achievements
Rank 1
Mahesh asked on 17 Dec 2012, 12:04 PM
Hi,

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

Sort by
0
Mahesh
Top achievements
Rank 1
answered on 17 Dec 2012, 12:08 PM
Hi,

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
0
Steve
Telerik team
answered on 17 Dec 2012, 12:29 PM
Hi Mahesh,

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!

0
thelostleaf
Top achievements
Rank 2
answered on 05 Dec 2013, 12:12 AM
Hi,
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!
0
Stef
Telerik team
answered on 09 Dec 2013, 02:26 PM
Hello,

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.

0
thelostleaf
Top achievements
Rank 2
answered on 09 Dec 2013, 07:50 PM
Hi Stef,

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!

Tags
General Discussions
Asked by
Mahesh
Top achievements
Rank 1
Answers by
Mahesh
Top achievements
Rank 1
Steve
Telerik team
thelostleaf
Top achievements
Rank 2
Stef
Telerik team
Share this question
or