ADO.NET and query time-out

  • Hello listers,

    We noticed recently (as we changed our database acces layer from DB-Libray to ADO.NET) that we receive the error:

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

    On our server the query time-out is set to 0 (unlimited).

    Is ADO.NET altering this parmeter on a per connection basis? Do we have any control about that?

    Best regards,

    Carl

  • The problem was that we didn't set the Timeout  property of the SqlCommand object.

    Solved.

    Regards,

    Carl

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply