Couple of issues

Posts   
 
    
csmith12
User
Posts: 33
Joined: 08-Dec-2003
# Posted on: 24-May-2005 16:31:28   

Experienced members,

I get these two messages from time to time while running my application. I am totally lost on how these are occurring. And they don't always happen all the time.

During a recursive save action an entity's save action failed. The entity which failed is enclosed. The SqlCommand is currently busy Open, Fetching.

I am using the Adapter templates. I would give more info, but I am kind of lost.

Can anyone clue me in on where to start looking? Oh! By the way, this is the first time using the adapter templates.

Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 24-May-2005 17:02:29   

Do you share your adapter object with multiple threads? I.e.: do you store the adapter object somewhere, like in the session or application object in an asp.net application?

Frans Bouma | Lead developer LLBLGen Pro
csmith12
User
Posts: 33
Joined: 08-Dec-2003
# Posted on: 24-May-2005 21:45:25   

I do have the dataadapter shared in a global class in the winform application. This app is set to single threading unless one of the ui controls are spawning another automatically.

I will look as moving it out of the shared area.