Problem with workbook save in Response

Hi,

Before I used the Aspose.Cells version 6.0.0 and I could save the workbook in Response, as example:

wb.Save(HttpContext.Current.Response, namefile, ContentDisposition.Attachment, new XlsSaveOptions(SaveFormat.Excel97To2003));

Now, I download the new version of Aspose.Cells (7.0.3.0) and I could not used this method.

I would use the save workbook in Response.

Look forward to your feedback.

Thank you

Hi,

Do you mean you do not find this method in Workbook.Save method. Well, I think you are using the wrong dll of Aspose.Cells. When you use our product in a a web application, please use the Aspose.Cells.dll from the net2.0 folder in the "/bin" directory. I think you are using the ClientProfile version of Aspose.Cells Assembly. For your information, the dll in net3.5_ClientProfile directory is used only for the console application with Net frame client profile as the target framework of vs.net. Please check your project, it is possible that your project is referencing this dll. For complete reference, please read the "readme.txt" file in the bin directory.

Let us know if you still have any issue or confusion.

Thank you.

Hi,

I sorry.

I using the wrong version of the aspose file. Now, I work fine.

Thank you

Hi,


That is good, have a nice day!