Hi,
I am using Aspose cells for java library version 2.0.0 in my project to generate excel report.
I have a excel template uploaded in database.
I read the template from db, then i open the template using apsose.
then modify the template and save in the hard drive. when i try to open the saved file , it says unable to read the file. afterwards it opens but file is lost its style everything.
find the attached generated file.
can you please tell me why the file is corrupted
Thanks
mamatha.
Hi,
Thank you for considering Aspose.
Please share one of your template file which is causing this problem. It will be easier for us to figure out the issue soon.
Thank You & Best Regards,
hI,
plz find the attached template whch i am using…
Thanks
Mamatha
Hi,
Thank you for sharing your template file.
I have tested your file and its seems to work fine with Aspose.Cells for Java. Please share the code which you are using to manipulate the template file that causes the problem. We will look into it soon.
Thank You & Best Regards,
Hi,
Thanks for ur quick response.
I have tested this report from the Junit test case. It works fine as you told.
But we have a web-based project, it uses JSF for UI.
InUI i have a button, on click of it i am doing the generation as it is explained previously.
after generation we send it to Http response , then in browser there is a open/save dialog box.
when we try to open it, we are unable to open. So i don't what the problem is..
Please let me know if you know the solution.
Thanks
Mamatha.
Hi,
Thank you for considering Aspose.
Well, I checked your scenario with web based project having JSF as UI and not found any issue. Please share the code you are using to manipulate your template file and sending the saved file to browser. We will check it soon.
Thank You & Best Regards,