Free Support Forum - aspose.com

Issue while convert from Aspose GridWeb to excel file

Hi Team,

I am getting following error while convert from Aspose GridWeb to excel.Please help us on this

Unable to cast object of type 'Aspose.Cells.GridWeb.Data.Picture' to type 'System.Collections.SortedList'.

Used code:

string filename = System.IO.Path.GetTempPath() + Session.SessionID + ".xls";

this.mpmReportGrid.WebWorksheets.SaveToExcelFile(filename);

Thanks and Regards

Saravanan.l

Hi Team,

The issue is fixed.I have removed images from input file.This is for you information.

Thanks and Regards

Saravanan.l

Hi,


Could you create a sample runnable project, zip it and post it here to reproduce the issue on our end. We will log your issue (if we found it) and try to figure it out soon. Also provide us your template file if you have any.

Also, please make sure that you are using our latest version of the product (GridWeb) v2.7.14.xxxx.

Thank you.