Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2018-10-22 12:04:03

quintg
Member
Registered: 2016-10-19

Excel error with Jasper in 3.0.4

With CE version 3.0.4 when I create an Excel export from a simple Jasper report I get an error when opening with Excel 2016: "We found a problem with some content in '(filename).xlsx'. Do you want us to try to recover as much as we can? If you trust the source of this workbook, click Yes". After clicking Yes it opens in Excel, with diagnostic message "Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.". The result seems to contain everything from the design, including a logo.
In excelexport.cfg I have the defaults:


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
   <xls>
      <format>xlsx</format>
      <stream>true</stream>
   </xls>
</configuration>

Offline

#2 2018-10-23 08:22:22

quintg
Member
Registered: 2016-10-19

Re: Excel error with Jasper in 3.0.4

The issue seems to be caused by the company logo which is embedded in the template with this piece of code:

new java.io.StringBufferInputStream( new org.w3c.tools.codec.Base64Decoder($V{vLogo}).processString() )

When removing the logo the export is fine.

Offline

Board footer

Powered by FluxBB