XLS2003 to PDF conversion produces an invalid PDF after updating from 25.6 to 25.8

After I updated ‘groupdocs-conversion’ for Java from 25.6 to 25.8 conversion to PDF for XLS2003 results in a PDF that I can’t open with a PDF viewer like Preview.

Attaching the file that I can reproduce the issue with
doc.xls2003.zip (1.0 KB)

Thank you in advance for taking a look!

@adrian.gruber.95

It appears you are encountering issues with PDF conversion from XLS2003 after updating the GroupDocs.Conversion library. This may be due to changes in the library’s handling of file formats or potential bugs introduced in the new version.

Here are some steps to troubleshoot the issue:

  1. Check for Known Issues: Review the known issues section of the documentation for any reported problems related to XLS2003 to PDF conversion in version 25.8.

  2. Test with Different Files: Attempt to convert other XLS2003 files to determine if the issue is specific to the file you are using.

  3. Revert to Previous Version: If the problem persists, consider reverting to version 25.6 to confirm whether the issue is related to the update.

  4. Contact Support: If none of the above solutions resolve the issue, reach out to GroupDocs support with the specific file and details of the problem for further assistance.

If you need additional help, please feel free to ask!

Hello @adrian.gruber.95 ,

Thank you for contacting us regarding your issue.
Unfortunately, we couldn’t reproduce the situation you described on our side.

Could you please provide the sample code you used for the conversion, as well as clarify which exact document you were working with?

From what we can see, the file you attached — “doc.xls2003” — has an incorrect extension. In this case, it can indeed be passed to the converter and a result file is produced, but the output PDF cannot be opened in a PDF viewer. However, if you rename the file extension from “doc.xls2003” to “doc.xls”, the result opens as expected.

So please clarify your use case.

@evgen.efimov Thank you for your quick response! I think I was confused by Supported Document Formats | Documentation where XLS2003 is mentioned but if I get it correctly that is not a valid file extension then, right? If so, then sorry I wasn’t aware of that.

We are running regression agains file conversion to make sure every file format (that are supported) converted correctly to our customers. This very file was a part of that test and it was converted successfully by version 25.6 but not 25.8. However, if this file format is not a valid one then we can close this topic I think. I would appreciate your confirmation on the matter.

Thank you again!

@adrian.gruber.95 ,

Yes, an Excel 97–2003 Workbook uses the .XLS extension.
You should refer to this documentation where all supported formats for conversion in GroupDocs.Conversion for Java are listed.
If you have any further questions, please don’t hesitate to contact us.

1 Like