I have an urgent issue with Spire XLS inside a console application (.NET 4.6.2)
- Code: Select all
var filename = "Triggers.xlsx";
Spire.License.LicenseProvider.SetLicenseKey("OUR KEY");
var workbook = new Workbook
{
Version = ExcelVersion.Version2016
};
var sheet = workbook.Worksheets[0];
sheet.Range["A1"].Text = "HELLO";
workbook.SaveToFile(filename, ExcelVersion.Version2016);
Crashes with
'The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters’
This is being run under 64 bit with Spire 9.1.22
Whats the problem? I need this to be working reliably asap! This is really frustrating as its such a simple task I am giving it!
Cheers
Paul