The following error message appears in Microsoft Excel 2007 after exporting a document using the task exportDocument in Strategy Task Framework API even though excelVersion=4 is specified in the task url:
The file you are trying to open, 'XXX.xls', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?
This is a known issue in Strategy Task API Framework.
Contact Strategy Technical Support for an update on this issue.
In Strategy Web under User Preferences > Export Reports > Excel options, make sure Excel version is set to "Excel 2007 or newer versions" to avoid the error message in Excel.
ADDITIONAL INFORMATION: The Strategy SDK allows you to customize the standard Strategy Web interface, and extend and integrate the Strategy business intelligence functionality into other applications. However, before changing the way Strategy Web products look or behave, it is helpful to understand how the application is built.