Timeout exception in .net core using ADO drivers and synapse serverless(on-demand sql) connection string

Nagendra ch 21 Reputation points
2021-12-08T06:27:21.547+00:00

Created .net core console application inside using ADO drivers and synapse serverless(on-demand sql) connection string to executing csv to parquet conversion script.
Small set of data it's working fine. But when medium set of data we are getting timeout exception in 30 seconds and getting below error.

"Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding."

We increased the Connection Timeout=3000 in connection string but still we are getting timeout exception in 30 seconds.

Is there any way we can increase the script execution time in synapse serverless side or any ware?

Could you pleas help me how to resolve this issue?

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,375 questions
Developer technologies | .NET | Other
Developer technologies | Transact-SQL
0 comments No comments
{count} votes

Accepted answer
  1. Olaf Helper 47,436 Reputation points
    2021-12-08T07:32:53.207+00:00

    completion of the operation ... We increased the Connection Timeout

    You get a Command timeout, not a connection timeout

    See SqlCommand.CommandTimeout Property


0 additional answers

Sort by: Most helpful

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.