Free Support Forum -

Error while saving

Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack.

this is the error i am getting when i use

excel.Save("DatamonitorExcel.xls", Aspose.Cells.FileFormatType.Default, Aspose.Cells.SaveType.OpenInExcel, Response);

could u please tell me solution for this problem its urgent

1. Please try this attached version.

2. If it still doesn't work, please post more of your code here.

3. Please check . It may help you figure out the problem.