SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Import Excel .xls fails on SSIS2012


Import Excel .xls fails on SSIS2012

Author
Message
Scott Thornton-407727
Scott Thornton-407727
SSC-Enthusiastic
SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)SSC-Enthusiastic (179 reputation)

Group: General Forum Members
Points: 179 Visits: 255
Hi,

I am seeking some assistance in troubleshooting a package that imports data from a network location based Excel ( .xls ) file.

The SSIS 2012 server is 64-bit.

When I execute the package, from the Advanced tab I select 32-bit runtime.

The error:
"ImportWestPacBankStatement:Error: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: ""Microsoft JET Database Engine"" Hresult: 0x80004005 Description: ""The Microsoft Jet database engine cannot open the file '\\server\directory$\folder\filename.xls'. It is already opened exclusively by another user, or you need permission to view its data."".
"
"Import Westac XLS:Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager ""Excel Connection Manager"" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
"

I have checked that the account SSIS runs under has access to the file. ( I logged onto the PC with the SSIS agent account and checked the file, and it opens OK ).

When 32-bit is not selected, I receive a different error:

ImportWestPacBankStatement:Error: The requested OLE DB provider Microsoft.Jet.OLEDB.4.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode. Error code: 0x00000000.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".

So, I think that I am using the correct approach in using the 32-bit runtime, and I am certain as much as I can be that the account has the correct permissions, but it doesn't work.

PS. on 2005 I had to run the 2005 written package with the dtexec command.
eg: "c:\Program Files (x86)\Microsoft SQL Server\90\DTS\Binn\dtexec.exe" /DTS "\MSDB\packagename" /SERVER servername /MAXCONCURRENT " -1 " /CHECKPOINTING OFF /REPORTING V

Thanks for any suggestions.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search