Msg 7399 Msg 7303 OPENROWSET.
Applies to: SQL Server 2012 Enterprise Edition.
We were trying to read the data from an Excel spreadsheet using the following
'select TOP 110 * from [Sheet1$]')
When we executed the statement we received the following errors:
Msg 7399, Level 16, State 1, Line 2
The OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "(null)"
reported an error. The provider did not give any information about the error.
Msg 7303, Level 16, State 1, Line 2
Cannot initialize the data source object of OLE DB provider
"Microsoft.Jet.OLEDB.4.0" for linked server "(null)".
The spreadsheet document was already in use (was open) and OPENROWSET was not
able to open it.
Once the spreadsheet was closed we executed the statement successfully.