You could try :
string cnStr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Docs\\Book2.xlsx;Extended Properties='Excel 12.0 xml;HDR=YES;'";
you could also try to put single quotes around the datasource :
string co = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source='" + filename + "';Extended Properties="+"Excel 8.0;HDR=NO;"+"";
If the above fails, it could also be a security issue. But we can deal with that if the above fails. Hope this helps.