Toad World® Forums

Beta 104 - DB2 not working


After installing beta 104, I get errors trying to connect to DB2.

From WInXP, a popup appears:
ERROR [58031] [IBM] SQL1031N The database directory cannot be found on the
indicated file system. SQLSTATE=58031

Stack Trace:
at IBM.Data.DB2.DB2ConnPool.Open(DB2Connection connection, String&
szConnectionString, DB2ConnSettings& ppSettings, Object& ppConn)
at IBM.Data.DB2.DB2Connection.Open()
at Quest.Toad.Db.Connection.OpenConnection(IDbConnection connection)
at Quest.Toad.DB2.DB2ToadConnection.OpenConnection(IDbConnection connection)
at Quest.Toad.Db.Connection.AllocConnection()
at Quest.Toad.Db.Connection.Connect(Boolean notify)
at Quest.Toad.Db.Provider.BackgroundConnector.CreateBackgroundConnection()

From Winserver2003 you get a message box with the following message:
The following error was encountered attempting to establish the correct DB2
environment - Could not find a part of the path ‘C:\Program

You press OK then another message box comes up:
The exception unknown software exception (0xc0000005) occured in the application
at location 0x00000000. Click on OK to terminate program

Clicking OK instantly closes Toad.

Regards, Tom.


Hi Tom,

We have reproduced your connection problem and have created the following two
CRs for it.

CR76426 - Connection/DB2: Exception occurs on first attempt to connect to
unregistered database
CR76358 - Connection/DB2: All database alias is deleted after new build