Free Support Forum -

Aspose.Words for Jasper - HTML Exporter doesn't work- cannot set HtmlExporterImages folder

Since version 1.2.1, it is not possible the export to HTML. the exception below is thrown, but there is no way to set folder.

net.sf.jasperreports.engine.JRException: Image file cannot be written to disk. When saving the document to a stream either HtmlExportImagesFolder should be specified or custom streams should be provided via HtmlExportImageSaving event handler. Please see documentation for details.

at com.aspose.words.jasperreports.AWAbstractExporter.exportReport(Unknown Source)

Best regards,

Yam Shal-Bar


Thanks. This will be fixed in the 1.3.0 version that is going to be released very soon, as well as the bottom margin issue.

Hi Dmitry

In the new Version you still can't set folder for the images,so what you get is report without the images.

There is suppose to be a folder of images beside the html file.





Actually this is a limitation mentioned at

The reason is that when running the exporter on JasperServer remotely, you will not be able to view images anyway because they can't be sent along with the HTML response. But I agree that it should be possible when exporting reports to HTML locally. Do you want me to implement this option?