I\'m reading an Excel file with OLDB Connection using this code
var connectionString = string.Format(\"Provider=Microsoft.Jet.OLEDB.4.0; data source={0};
Just make sure that your excel file is not open. Close your excel application & then start your program.
Sunil