This project is read-only.

Error on 64bit System : "The type initializer for 'NPOI.OpenXmlFormats.Spreadsheet.ThemeDocument' threw an exception.

Dec 10, 2012 at 1:45 AM
Edited Dec 10, 2012 at 3:01 AM

I have got the following error on 64 bits machine but it is working on 32 bits at line -:

 var templateWorkbook = new XSSFWorkbook(uploadedFile.InputStream);

NPOI 2.0 Alpha.

Excel 2007

 

"The type initializer for 'NPOI.OpenXmlFormats.Spreadsheet.ThemeDocument' threw an exception.