A VB - Datbase question

  • Thread starter Thread starter **Developer**
  • Start date Start date
D

**Developer**

I downloaded some code. In it this code
lReader = lCmd.ExecuteReader()

causes this exception message

Fail.ToString "System.InvalidOperationException: ExecuteReader requires an
open and available Connection. The connection's current state is Open,
Fetching.
at System.Data.OleDb.OleDbCommand.ValidateConnectionAndTransaction(String
method, Int32& localState)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior
behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.ExecuteReader()
at CnCommon.VisualTheme.LoadTheme(String pvName) in C:\Documents and
Settings\Cal\Desktop\junk\CnCommon\VisualTheme.vb:line 544" String

Does this mean anything to you.

I don't use database so there may be something wrong with it.

Got a suggestion as to what I should look for?


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top