I had the same error, but none of the above suggestions worked. In my case, all I had to do was change the connection string to this:
string connStr = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" + FilePath + ";Extended Properties='Excel 12.0;IMEX=1;'";
Note the single quote around the Extended Properties attribute ("Excel 12.0; IMEX = 1;"). As soon as I added these single quotes, the error went away!
DigiOz Multimedia
source share