1
Vote

Meet NullReferenceException when open an excel

description

I use the following codes to open an Excel file and meet the NullReferenceException.
Is anyone know how to solve it? Sample data is attached.
 
string path = "E:\test.xlsx";
 
using (ExcelDocument doc = ExcelDocument.Open(path, true)) //<--- Meet error here
{
...
}

file attachments

comments

zfcal wrote Feb 6, 2011 at 3:13 PM

Poor network... File is real attached.

wrote Feb 14, 2013 at 1:50 AM