I recently updated to this version and now I get the following error when I attempt to send my result set to Excel. I have updated appsettings.json
as shown below the error message. I have gone to the EPPlus site and gone over the doc for setting the license.
ERROR Transparency.Components.Pages.VendorPayments.MoveNext [895] - MESSAGE: Error exporting to Excel: Please set the license using one of the methods on the static property ExcelPackage.License. See https://epplussoftware.com/developers/licensenotsetexception for more information
OfficeOpenXml.LicenseNotSetException: Please set the license using one of the methods on the static property ExcelPackage.License. See https://epplussoftware.com/developers/licensenotsetexception for more information
License entry in appsettings.json
:
"EPPlus": {
"ExcelPackage": {
"LicenseContext": "NonCommercialOrganization:State of Florida"
}
}
What am I missing?
License
- notLicenseContext