Click here to Skip to main content
15,894,720 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all...
I have to transfer data from multiple excel files to database. I used foreach loop in ssis.
But I am getting error after using connection string also.
I also used provider for variable then also its giving error.
Can anybody help me...
Posted
Comments
ZurdoDev 29-May-13 7:42am    
We really need more info. If you are stuck on the connection string clearly that is what you need to fix first. What is your connection string? What is the error?
xyz from Bangalore 29-May-13 7:56am    
When I provided provider for connection string its giving error as "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=” + @[User::FileName] +
“;Extended Properties=\”Excel 8.0;HDR=YES\”;”
0 is not recognized.The expression cannot be parsed because it contains invalid element
ZurdoDev 29-May-13 8:03am    
Are you doing this in the Expressions section of the connection?
xyz from Bangalore 29-May-13 8:06am    
Ya..
ZurdoDev 29-May-13 8:10am    
What's the 0 from at the end?

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