SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Ad hoc access to OLE DB provider 'Microsoft.ACE.OL
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dolphin123
Yak Posting Veteran

USA
78 Posts

Posted - 09/04/2013 :  15:34:33  Show Profile  Reply with Quote
Hi,

A user is trying to load data from an EXCEL file using a custom built dataloader to SQL server 2008 database table and this is the error he is getting:


Ad hoc access to OLE DB provider 'Microsoft.ACE.OLEDB.12.0' has been denied. You must access this provider through a linked server.


This is what I did:

ran this on the destination DB server:



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


and I checked to see if AccessDatabaseEngine_x64 is installed there and it is already there.

I am sure this happened before and I solved it by doing the above. I am not sure why it is not working now.

Can anyone spare any thoughts?

Regards,
D

  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000