August 30, 2010 at 7:33 am
Hi,
I want to import data from multiple excel worksheets through SSIS to a SQL Server table. Any help appreciated .
Thanks
August 30, 2010 at 7:39 am
What problems are you having?
Is the format of all the worksheets the same (column order, datatype etc)?
August 30, 2010 at 7:45 am
I am trying to reuse the ssis package from this link :
But if I use a different excel file name or change the variable value from '01$' to 'Sheet1$' it fails .
August 30, 2010 at 7:50 am
Please post the full text of the error message.
August 30, 2010 at 7:54 am
Below is the error message :
Error at DFT Extract Data From Excel [EX_SRC Get Each WorkSheet Data [1]]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E37.
Error at DFT Extract Data From Excel [EX_SRC Get Each WorkSheet Data [1]]: Opening a rowset for "'Sheet1$'" failed. Check that the object exists in the database.
------------------------------
ADDITIONAL INFORMATION:
Exception from HRESULT: 0xC02020E8 (Microsoft.SqlServer.DTSPipelineWrap)
August 30, 2010 at 8:01 am
Please excuse the obvious question, but is there a worksheet called Sheet1 in the workbook being accessed?
What version of Excel are you using?
Are you working in a 32- or 64-bit environment?
August 30, 2010 at 8:16 am
Excel Version 2003 . 32 bit .
August 30, 2010 at 8:20 am
Great - and the answer to the first question?
August 30, 2010 at 8:26 am
By default when I open an execl sheet , the worksheet names that is seen is sheet1,sheet2 and sheet3 .
August 30, 2010 at 8:32 am
Yeah I know that - but what's important is the name of the sheets in the specific Excel sheet that you are accessing in your package.
August 30, 2010 at 8:41 am
I am trying to use the sheets Sheet1,Sheet2 and Sheet3 from the package instead of 01,02 and 03 sheet.
August 30, 2010 at 8:43 am
I changed the original sheet names in the package to the ones shown below for testing.
01 --> Sheet1
02 --> Sheet2
03 --> Sheet3
August 30, 2010 at 8:44 am
I changed the original sheet names in the package to the ones shown below for testing.
01 --> Sheet1
02 --> Sheet2
03 --> Sheet3
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply