COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => SDK => Topic started by: n_ramesh_in on 10 Jun 2007 11:40:42 PM

Title: Excel File Generation in Cognos SDK
Post by: n_ramesh_in on 10 Jun 2007 11:40:42 PM
HI All,

I am submitting a report as a job using submit method along with
some report parameters and creating a report view of the report
in XLS format.This is done from my java application.(This part
works fine and report is getting generated successfully.)I have
provided a link called View Report in my java application and
when the user clicks on the link the report should get
downloaded .But when I try to download the report,a spreadsheet
window does open prompting me to either save or open the file
and when i open the file i get the error 'Unable to read file'
and it doesnt show the report.What could be the reason for it?
Ramesh