Problems with connection already closed.

2 posts, 0 answers
  1. Thomas
    Thomas avatar
    9 posts
    Member since:
    Sep 2008

    Posted 21 Jul 2010 Link to this post


    The users of my application are getting "The connection is already closed." errors more frequently. I read somewhere on the forums that I have to dispose the query result, but since I am using Linq with OpenAccess I don't have a query result just a List<Objects>. 

    Apart from possible problems with the application there might be a problem with the users network an database server but what can I do to deal with this problem? 

    Kind regards. 
  2. Damyan Bogoev
    Damyan Bogoev avatar
    581 posts

    Posted 21 Jul 2010 Link to this post

    Hi Thomas,

    I recommend you to have a look at this KB article which demonstrates how to manage the OpenAccessContext instances in a web scenario.
    Hope you find useful the provided article. If any other questions arise please contact us back.

    Sincerely yours,
    Damyan Bogoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top