user7476196
user7476196

Reputation: 1

Running SSIS package through SQL server agent

I have an SSIS package with excel connection manager. Thus, I need to run it in 32-bit environment. I configured the SQL-server job to run in 32-bit environment by doing the following:

Job properties-> Execution options-> use 32 bit runtime.

But I am getting this error:

Code: 0xC0209302 Source: Package Connection manager "Excel Connection Manager" Description: The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 32-bit driver is not installed, run the package in 64-bit mode. Error code: 0x00000000. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". End Error Error: 2017-02-16 10:14:22.94 Code: 0xC001002B Source: Package Connection manager "Excel Connection Manager" Description: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Please suggest a way in which I can run the SSIS package through sql-server job agent. Thanks!

Upvotes: 0

Views: 1781

Answers (3)

NotAGeek
NotAGeek

Reputation: 1

Check if you have configured to run package in correct architecture. Navigate in SSDT to Project>>Properties>>Debugging>>Run64 bit Runtime>> Set True/False acc to arch of your machine and check.

Upvotes: 0

Kinchit Dalwani
Kinchit Dalwani

Reputation: 398

There is a alter way. Open the excel file in Microsoft office Excel, and save it as "Excel 97-2003 Workbook". Then, use the new saved excel file in your file connection.

Upvotes: 0

LONG
LONG

Reputation: 4610

Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

You need to download new data access engine, what I am guessing is you were trying to deploy a package to the server with old data access engine installed such as jet

here is the link: https://www.microsoft.com/en-us/download/details.aspx?id=13255

login to the target server, download either 32-bit or 64-bit based on your server version and installed. After that everything should be fine.

Upvotes: 1

Related Questions