Meaning of the error “idle to access db2” when connecting to database

Asked By 10 points N/A Posted on -
qa-featured

I would like an expert to explain what are the causes for the error "idle to access db2" when connecting a vb.net application to a database. I would like to know how I can solve the error and what causes it.

SHARE
Answered By 0 points N/A #168204

Meaning of the error “idle to access db2” when connecting to database

qa-featured

There is an idle thread timeout in your source code or in your database server , try to check and set to default everything, you're using .NET programming you don't need to install any third party driver to access the DB2 database. So first try to double check the DB connection source code check your database name, database username, and password if you think everything is correct, check if the DB2 server is running correctly. Here is the sample source code to connect to a DB2 database.

DB2Connection can = new DB2Connection ("Database=Test; UserID=admin; Password=blank; Server=IS500")

Related Questions