The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local
above error is coming when i m trying to upload excel sheet in server.
but it works fine
string constr = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source='" + uploadedFile + "';Extended Properties= 'Excel 8.0;HDR=Yes;IMEX=1'";