Getting SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on <DataFlowName> returned error code 0x80004005 on Sybase DB to File Extraction

Mahesh Shrestha 101 Reputation points
2021-01-05T03:00:00.41+00:00

I am getting data from Sybase DB (using ODBC Connection) to load into the file using MS-SSIS but in the data flow task while getting from the source its giving the following errors.

<ControlFlowName> :Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.
The PrimeOutput method on <DataFlowName> returned error code 0x80004005.
The component returned a failure code when the pipeline engine called PrimeOutput().
The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.
There may be error messages posted before this with more information about the failure.

I have tried with setting MaxConCurrentExecutions=1 as suggested on some web pages as well.

Using the same connection/same DB is working fine for some instances of Table extraction.
The same extraction works totally fine while running on the Debug mode using MS-Visual Studio SSDT.

I need help to solve this issue. Any help would be appreciated.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
0 comments No comments
{count} votes

Accepted answer
  1. Mahesh Shrestha 101 Reputation points
    2021-01-12T00:10:32.847+00:00

    ADO.NET seems super slow.
    Finally , I ended up using OLE DB Connector for ODBC.
    For this, it will be required to create Linked Server
    and point the ODBC DSN.

    And then Install SQL Anywhere Driver on ETL servers :
    https://wiki.scn.sap.com/wiki/display/SQLANY/SAP+SQL+Anywhere+Database+Client+Download

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Monalv-MSFT 5,926 Reputation points
    2021-01-05T08:51:20.267+00:00

    Hi @Mahesh Shrestha ,

    1. Could you please check if you install correct ODBC provider for ODBC Connection? 32bit or 64bit?
    2. If it's 32bit, please set Run64BitRunTime as False;
      If it's 64bit, please set Run64BitRunTime as True.
      53459-run64bitruntime1.png

    Best Regards,
    Mona

    ----------

    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    Hot issues in November--What can I do if my transaction log is full?
    Hot issues in November--How to convert Profiler trace into a SQL Server table?

    1 person found this answer helpful.

  2. Mahesh Shrestha 101 Reputation points
    2021-01-05T22:22:33.023+00:00

    Hi @Monalv-MSFT

    1. Could you please check if you install correct ODBC provider for ODBC Connection? 32bit or 64bit? ==>Yes Correct Sybase Driver are installed and are working while testing the connection. Both 32bit and 64bit are installed.
    2. I have tried with both Run64BitRunTime=True and False . Funny thing is , it runs well while running on Debug mode on Visual Studio - SSDT. Its only failing with the above error while running the same SSIS package through SQL Agent Job.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.