IBM Support

Export Data: Excel cannot open the file with an error ‘The file format or file extension is not valid’.

Troubleshooting


Problem

After exporting an excel file that has a forward slash generated in the name, the file size if 0KB and returns an error if tried to be opened. 

Symptom

1. Find a report or journal type in controller web with a forward slash (/) in the name.
2. Click ‘Export data’
3. After a few seconds, chose ‘Save as’:  
4. Then look at the file, and you will find that its size is 0 kb:
5. Then try to open it and you get the following error:
image-20220207093510-3
~~~~~~~~~~~~~~~~~~
Microsoft Excel Excel cannot open the file ‘[file name]’ because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension matches the format of the file.
~~~~~~~~~~~~~~~~~~

Also, when you open the XLSX file (in NotePad) it is completely empty:

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Controller

Software version:
All Versions

Document number:
6554164

Modified date:
09 May 2025

UID

ibm16554164

Manage My Notification Subscriptions