
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ERROR: Unsupport file format
Hi all
We are getting "ERROR: Unsupport file format" messages on a couple of NPrinting tasks that we want to publish excel files to a folder destination. This appears to be linked to the size of data, NOT the amount of rows though, as one export is 600k rows. In this instance we resolved it by exporting to csv however the second task has to be an xlsm format.
Again this is resolved if we reduce the data in QS table to 100k rows or we Enable Cycle based on a row count of increments of 100k and export several files that we then need to merge back in excel itself. We typically see row counts over 700k in the Qlik Sense table so excel itself should be able to handle it so I'm guessing that it may be NPrint not being able to handle data that's "too heavy".
Although we have work arounds, we still need to find what causes the error message for future projects/tasks.I've searched Google and the forums but the only reference I can find is in relation to Qlik Sense corrupted QVDs.
Any help greatly appreciated.
Accepted Solutions


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think you are experiencing the 512 MB report size limit listed in the release notes https://community.qlik.com/t5/Release-Notes/Qlik-NPrinting-Release-notes-February-2024-Initial-Relea.... The CSV is smaller than the .xlsx with the same data and this could be the reason why the CSV solves. Without the detailed logs or the possibility to reproduce your issue I can't be more detailed.
Note that the CSV has the same 1M rows number limitation as .xlsx so splitting the output files using cycles could be the right solution.
If you open a support ticket with everything we need to reproduce the issue (.qvf, template and log files) we can investigate but, if it is the 512Mb limitation, we will not be able to remove it.
Best Regards,
Ruggero
Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
NPrinting has a max report size of 500MB in recent versions. Your error might be a qlikview or qlik sense problem. Do you see any errors in the logs? Also, if you open a session to the qlikview / qlik sense app in the browser and attempt to right click and download the same 600K result.... what happens? Error?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jonny - thx for getting back so soon
When I try to extract the data from Qlik Sense, it works fine. File size is only 25mb with 440k rows of data
The other file has 300 k rows and is 21mb in size. Both generate no errors when downloading direct from Qlik Sense but the errors we get in NPrint are
"Failed generation of report ?????? for user ?????????. ERROR: System.Exception: Exception during content resolution while processing request with id ?????????. Check Engine logs for details. ERROR: Unsupport file format."

.png)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm unfamiliar with this error. Can you share the logs? engine, scheduler, webengine, manager etc...

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
xls or xlsx?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Agree with @David_Friend
xls will have row limit 65,536 nad xlsm will have 1,048,576 row limit.
Obviously creating xlsm output for it to work properly starts with creation of your xlsm with macro directly in excel and using the file as a template. Was yor original xlsm file allowing 1,048,576 rows?
Then there is a question of the template:
- are you just dumping everything as a data dump (single tag or individual columns)
- are you using levels to break it down to smaller pieces? (it will work slower but may be workaround)
- are you using "keep source format" - if yes then the question to @Ruggero_Piccoli @David_Friend @JonnyPoole @Frank_S is if "keep source format" may be limited by Qlik Sense limitation: "Download to Excel with enhanced table formatting works for tables with maximum 2,097,152 cells" https://help.qlik.com/en-US/sense/February2024/Subsystems/Hub/Content/Sense_Hub/DataExport/export-da...
regards
Lech

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All
Thanks for the responses however I'm pretty sure its not directly related to excel (xlsx/m). One app only has 600k rows of data therefore well within the max number of rows and exports fine from Qlik Sense. Changing the extract in NPrint from xlsx to csv appears to have resolved this case.
A test app of 1M rows of data exports ok from Qlik Sense to xlsx but fails in NPrint with the error mentioned previously. The work around to this was to create a field "File_No" in our QS app, where row numbers 1 to 299,999 =1, row numbers 300k to 599,999 =2 and so on. Then enable cycle for the NPrint Report based on "File_No". This works and generates several files ok but not ideal as we need 1 file to be created.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I think you are experiencing the 512 MB report size limit listed in the release notes https://community.qlik.com/t5/Release-Notes/Qlik-NPrinting-Release-notes-February-2024-Initial-Relea.... The CSV is smaller than the .xlsx with the same data and this could be the reason why the CSV solves. Without the detailed logs or the possibility to reproduce your issue I can't be more detailed.
Note that the CSV has the same 1M rows number limitation as .xlsx so splitting the output files using cycles could be the right solution.
If you open a support ticket with everything we need to reproduce the issue (.qvf, template and log files) we can investigate but, if it is the 512Mb limitation, we will not be able to remove it.
Best Regards,
Ruggero
Best Regards,
Ruggero
---------------------------------------------
When applicable please mark the appropriate replies as CORRECT. This will help community members and Qlik Employees know which discussions have already been addressed and have a possible known solution. Please mark threads with a LIKE if the provided solution is helpful to the problem, but does not necessarily solve the indicated problem. You can mark multiple threads with LIKEs if you feel additional info is useful to others.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thx Ruggero
A ticket has been opened and the log files uploaded to the folder location supplied in the response
