While uploading Excel files to DB server some files cannot be uploaded. This error was caused while getting the column names of that excel file using the function:
dtExcel = objConn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, Nothing)
While uploading Excel files to DB server some files cannot be uploaded. This error was caused while getting the column names of that excel file using the function:
dtExcel = objConn.GetOleDbSchemaTable(OleDbSchemaGuid.Columns, Nothing)
Seems like problem with Excel OLEDB driver and/or connection string
Try these posts