Click here to Skip to main content
15,902,198 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Does any one have solution on this issue ?

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

I am getting this when tried to below query from SSIS

sq
Insert into OPENROWSET('Microsoft.Jet.OLEDB.4.0','Excel 8.0;Database=D:\DynamicExcelFile16032012.xls','SELECT ProductID,ProductName,ProductDescription,ProductPrice,SupplierName FROM [ABC$]') EXEC ProductSearch @ProductName ='ABC'" 
Posted

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900