question

AnthonyWatts-7049 avatar image
0 Votes"
AnthonyWatts-7049 asked ZhaoShan-2114 published

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

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Monalv-msft avatar image
0 Votes"
Monalv-msft answered

Hi @AnthonyWatts-7049 ,

[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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AnthonyWatts-7049 avatar image
0 Votes"
AnthonyWatts-7049 answered ZhaoShan-2114 published

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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AnthonyWatts-7049 ,

Please try to use ODBC destination in Data Flow Task.

Best Regards,
Mona


0 Votes 0 ·

I also encountered the same problem. Have you found a solution?

0 Votes 0 ·