We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Urgent Help Required ::: Aspose Cells .NET Pivot Table Open Problem

Hello Aspose Support Team,

We are trying to implement ASPOSE cells for .NET to create Pivot Tables.

While doing so, we are facing a problem that when we open the created excel and try to save it.. it gives us an error.

I have posted the solution as an attachement. As well as the errors i am getting.

First i get Error1.JPG and then clicking on 'OK' i get Error2.JPG. And then the window closes.

I am using MS office 2007.

Please help me ASAP.

Thanks and Regards

Sanchit Jain

Hi Sanchit,

Thanks for providing us the complete information about the issue. We have looked in the issue. Only the following changes were made to your code and it worked fine. We are attaching the output files for your reference.

Code snippet:

string filename;
filename = "C:\\excelTrash\\Rept.xlsx";
workbook.Save(filename, SaveFormat.Xlsx);
Response.AddHeader("Content-Disposition", "inline; filename=\"" + "xxx" + ".xlsx" + "\"");

Thanks,