This is a migrated thread and some comments may be shown as answers.

Problems with connection already closed.

1 Answer 36 Views
Development (API, general questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Thomas
Top achievements
Rank 1
Thomas asked on 21 Jul 2010, 08:03 AM
Hi. 

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

1 Answer, 1 is accepted

Sort by
0
Damyan Bogoev
Telerik team
answered on 21 Jul 2010, 05:53 PM
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
Tags
Development (API, general questions)
Asked by
Thomas
Top achievements
Rank 1
Answers by
Damyan Bogoev
Telerik team
Share this question
or