Trouble accessing multiple Excel 2003 files in SSIS 2008


hi everyone,
i trying execute ssis 2008 package on 64-bit os , import excel 2003 files sql server 2008.
i have created oledb connection excel file connection string retrieves excel file variable, inside foreach loop container.
the run64bitruntime set false.
the connectionstring oledb connection "data source=" + @[user::dataexcelfile] + ";provider=microsoft.jet.oledb.4.0;extended properties=\"excel 8.0;imex=1\";"
i not able edit sql command on oledb source in data flow task. returns error :

error 2 validation error. load list staged table: load list staged table: ssis error code dts_e_cannotacquireconnectionfromconnectionmanager. acquireconnection method call connection manager "list oledb excel" failed error code 0xc0202009. there may error messages posted before more information on why acquireconnection method call failed. 0 0

any ideas wrong?

set connection string property of excel connection manager as:
data source=" + @[user::dataexcelfile] + ";provider=microsoft.jet.oledb.4.0;extended properties=\"excel 8.0;imex=1\";"

dataexcelfile should configured for the full qualified path in each loop.
give value dataexcelfile : path should existing path , structure of excel file should same file have inside folders. (c:\myfiles\abc.xls). inside dft take excel source , select table or view data access mode. select list$ drop down box.
then add other components want till oledb destination.


also, uncheck box 'first row has column names' in while defining excel connection manager
nitesh rai- please mark post answered if answers question


SQL Server  >  SQL Server Integration Services



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........