SSIS Data Flow Task Error Incorrect Syntax near ','.

Anthony W 1 Reputation point
2021-02-10T06:15:35.617+00:00

I am attempting to execute a Data Flow Task using OLE DB data source and ADO.net destination to copy data from a SQL server table to a Sybase table. I can copy the data from the OLE DB source to a flat file with no issue but it fails with the ADO.net source. I noticed that when I am connected to the ADO.net destination the 'Preview' window is empty. Not the case when connected to the flat file source.

[ADO NET Destination [2]] Error: An exception has occurred during data insertion, the message returned from the provider is: ERROR [42000] [SAP][ASE ODBC Driver][Adaptive Server Enterprise]Incorrect syntax near ','.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ADO NET Destination" (2) failed with error code 0xC020844B while processing input "ADO NET Destination Input" (9). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.
[OLE DB Source [19]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on OLE DB Source returned error code 0xC02020C4. 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.

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

2 answers

Sort by: Most helpful
  1. Monalv-MSFT 5,686 Reputation points
    2021-02-10T08:17:51.767+00:00

    Hi @Anthony W ,

    [ADO NET Destination [2]] Error: An exception has occurred during data insertion, the message returned from the provider is: ERROR [42000] [SAP][ASE ODBC Driver][Adaptive Server Enterprise]Incorrect syntax near ','.

    1.Please check if you set the ODBC Driver successfully.

    2.Please check if you have full permissions to access to the ODBC Driver.

    3.Please check if you can test the ADO NET Connection successfully.

    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.

    No comments

  2. Anthony W 1 Reputation point
    2021-02-10T15:56:14.7+00:00

    Yes to all three of these steps. I can connect to the ADO.net successfully. I can use the ODBC driver to copy to flat file destinations and other ODBC destinations.