Excel into SQL Server with Microsoft.ACE.OLEDB.12.0

前端 未结 4 564
-上瘾入骨i
-上瘾入骨i 2020-12-10 08:06

I\'m getting the following error when trying to open an Excel file in SQL Server 2008 r2 64-bit:

Msg 7399, Level 16, State 1, Line 1
The OLE DB provider \"Mi         


        
4条回答
  •  情歌与酒
    2020-12-10 08:51

    SQL Server Management Studio. Type Services.msc in the run command to open the services window.

    Search for SQL Server Service and right click it and select properties.

    In the Log On Tab, select system account/or select your domain ID and Account and password.

    Once it finds your login name press OK.

    Now type your login’s passwords in both the fields.

    Restart the services so that the new changes are applied as shown in figure below.

    Now start SQL Server Management Studio and try to run the query if still not working try a system restart.

    or execute the query.

    USE [master] GO EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1 GO EXEC master.dbo.sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1 GO

提交回复
热议问题