How to "Your InputStream was neither an OLE2 stream nor an OOXML stream" Error

I getting the error “Your InputStream was neither an OLE2 stream, nor an OOXML stream” when performing Open excel while operating in excel. how can i solve it?

Solution :
For the transmitted xls file, it is stated in the Info information in Excel that the format is “Excel 2”. Excel>>Open component only supports Excel 97 and above.

The file can be converted to xlsx version with the following command or from the frontend:

“C:\Program Files\Microsoft Office\root\Office16\excelcnv.exe” -oice “C:\RobustaServiceDesk\IP-129\STN2611SystemReport.xls” “C:\RobustaServiceDesk\IP-129\STN2611SystemReportTest.xlsx”

You can call this command with the System>>Run cmd component as follows.