subramani.rudrappa 78855 (2/6/2013)
But i am able to fetch data from SSIS by connecting to excel source and using import export wizard too without any error.which means we have Microsoft.ACE.OLEDB.12.0 available on the server.(correct me if i am wrong)
Not necessarily. The Excel Provider built into SSIS 2012 uses the ACE driver but the Import/Export Wizard will be using 32-bit as it is launched from SSMS, a 32-bit app. If your SQL Server is 64-bit then OPENROWSET issued via T-SQL will be looking for a 64-bit version of the driver which may not be present.
__________________________________________________________________________________________________There are no special teachers of virtue, because virtue is taught by the whole community. --Plato