Getting error for SaveType

Hi I am quite new to Aspose and I have chosen this product to have the spreadsheets working without any need of MS Excel. To start with Aspose I have created one demo application to export data from Datatable to Spreadsheet.

This thing works locally fine but when I try to deploy it the IIS server without Ms Office on it . It is throwing error.

Any pointers on using the export to excel functionality work on the server which will not have office installed.

Hi,

It might be because of some obsolete method. I just created a sample web application that will put some value inside a sheet and user will be able to download it.

Please try it from this Post. It is in VB.NET although.

Here is a direct link to TestWeb.Rar


I tried the application you have sent.

again getting below error

"CS0234: The type or namespace name 'ContentDisposition' does not exist in the namespace 'Aspose.Cells' (are you missing an assembly reference?)"

Hi,

Please use the DLL under the directory “net2.0” and not “net3.5_ClientProfile”.

And please check the readme.txt under the directory
“Bin”.

Please see this image for more help.