[Error] Amazon.Lambda.AspNetCoreServer.APIGatewayProxyFunction: Unknown error responding to request: CellsException:
Aspose.Cells.CellsException: The type initializer for ’ ’ threw an exception.
at Aspose.Cells.Workbook.Save(Stream stream, SaveOptions saveOptions)
at AWSServerless_Report.Models.ViewReportModel.SaveSpreadSheetAsync(Workbook weeklyFlashReport, String FileFormat) in C:\MFR_Custom_QA\QA_API\API\AWSServerless_Report\Models\ViewReportModel.cs:line 1025
Please help me out asap.
Thanks.
This Topic is created by Amjad_Sahi using Email to Topic tool.
Well, we did try this scenario for Aspose.Cells using Docker container assuming that “AWS Lambdas” is similar to docker container. We tested this issue on Ubuntu 16.04 x64, in a docker container.
Here are our steps:
The docker we used was: microsoft/dotnet, install it first:
sudo docker pull microsoft/dotnet
Then, after running it straight away, we got the issue in this docker, We got the similar error upon saving to PDF.
We did the following things to sort it out:
We installed libgdiplus (you need to do the same):
We do provide support via forums. We do not provide support via phone or any other sources. The best way to get help speedily is via forums, so you may use it.