Broken Connection

Thread is closed for posting
2 posts, 0 answers
  1. Mike
    Mike avatar
    4 posts
    Member since:
    Jan 2015

    Posted 22 Oct 2015 Link to this post



    I have a win forms application which loads up a unit of work when the form loads. This is due to having drop downs bound to the unit of work etc. Now if i leave the screen open for an extended period of time and then start adding data and go to save, the connection state is then broken and i tried re-opening a connection which i got an exception.

     Due to having some entities in the unit of work and cache, is there a way to re-open the connection without creating a new unit of work OR copying the entities from the context to the new context???? 




  2. Doroteya
    Doroteya avatar
    498 posts

    Posted 28 Oct 2015 Link to this post

    Hi Mike,

    Thank you for contacting us.

    In general, you could adjust the ActiveConnectionTimeout property of the connection pool configuration in a way that satisfies the usage you expect.

    In the specific situation, however, I was unable to completely understand the situation on your side. In order to troubleshoot further, could you provide me with the text message of the error you observe and the code of the form, which produces the error?

    I am looking forward to your feedback.

    Check out the latest announcement about Telerik Data Access vNext as a powerful framework able to solve core development problems.
Back to Top