Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Carat
Yak Posting Veteran
92 Posts |
Posted - 2008-10-31 : 06:55:24
|
When I import an Excel file using the following connectionstring it succeeds:"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\server24\import\PV\PV.xls;Extended Properties=Excel 8.0;HDR=YES;"When I use a valid expression where I take a variable for the datasource it fails with the following error: "Can not find installable ISAM". This is the expression: "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + @[User::DataImportDir] + "\\PV\\PV.xls;Extended Properties=" + "Excel 8.0;HDR=YES;". The Excel file is of type 'Microsoft Excel 97-2003 Worksheet' so I can't use the ACE provider.What can I do to solve this? |
|
igorblackbelt
Constraint Violating Yak Guru
407 Posts |
Posted - 2008-10-31 : 10:28:29
|
What's the value of your DataImportDir variable?---http://www.ssisdude.blogspot.com/ |
 |
|
|
|
|