Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have this error coming up and I dont know what it means or what to do with it:

 

An unhandled exception of type 'System.InvalidOperationException' occurred in system.data.dll

 

Additional information: ExecuteReader requires an open and available Connection. The connection's current state is Open, Fetching.

 

Why would the conection state change to Fetching? and how can I turn it back to normal?

Posted
Or you never close the connection from your last call. Make sure you are calling dispose also!

As far as I know, calling .Dispose() will destroy the connection and the connection will not return to the pool. So make sure you know the effect of calling it.

There is no spoon. <<The Matrix>>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...