To create an OLE DB connection manager from the Connection Managers area
In Business Intelligence Development Studio, open the package.
In the Connections Managers area, right-click anywhere in the area, and then select New OLE DB Connection.
In the Configure OLE DB Connection Manager dialog box, click New.
In the Connection Manager dialog box, for Provider, select Microsoft Office 12.0 Access Database Engine OLE DB.
Note:
To connect to a data source that uses Excel 2007, you cannot select Microsoft Jet 4.0 OLE DB Provider for the Data Source. On the Connection tab of the Connection Manager dialog box, for Server or file name, type or paste the complete path and file name.
On the All tab of the Connection Manager dialog box, for Extended Properties, enter one of the following values based on the file format of the Excel 2007 file:
- Enter Excel 12.0 Xml for the default file format that uses the .xslx file name extension.
—or— - Enter Excel 12.0 for the non-default binary file format that uses the .xslb file name extension.
Note:
When you import from Excel 2007, you can specify either Excel 12.0 or Excel 12.0 Xml because the driver infers the correct format from the input file. However, when you export to Excel 2007, you have to specify the Excel file format that corresponds to the file name extension that you have given the output file. - Enter Excel 12.0 Xml for the default file format that uses the .xslx file name extension.