N/APosted on - 05/13/2013
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.
Meaning of the error “idle to access db2” when connecting to database
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")