I receiving this error (below) and I can’t figure out what is wrong. Based on the google results, I could only find that in c# it means that there is something wrong with the excel version, but I’m using licensed Excel 2013 - file is xlsx.
Main has thrown an exception
Source: Excel application scope
Message: Exception from HRESULT: 0x800A03EC
Exception Type: ExcelException