A 3rd-party library is throwing
System.Exception
? That's terribly sloppy coding... From the stack trace it seems
CalcEngine
is trying to
Evaluate
an expression in an
IXLCell
- perhaps the Excel data contains a formula error that Excel itself can't compute? Or ClosedXML doesn't handle some new Excel 2016 function (a decent library would throw something like an
UnknownFunctionException
in that case.. I can't fathom a reason to throw
System.Exception
, that's just horrifying)? In any case, if the file format is CSV, why involve Excel at all? Parsing CSV isn't exactly complicated... —
Mat's Mug 9 mins ago