Cannot Connect to Database

IN THIS PAGE

Description

If drivers are missing or are not properly configured, a connection to a database can fail.

Discussion

Incorrect or missing drivers can manifest as a "cannot connect to database" error from Alpha Anywhere when establishing a connection. To resolve the issue, you must update the drivers for your database system.

Specific solutions for some database systems are listed below. Alpha Anywhere ships some database drivers, which can be found in the installation folder.

If you do not see your database vendor below, contact your database vendor for driver information.

Microsoft Access

Failure to connect to Microsoft Access may be the result of a 32-bit/64-bit compatibility issue with Microsoft Office or Microsoft Office 365. If you have installed a 64-bit version of Microsoft Office, you will need to uninstall that version and install the 32-bit version.

You can temporarily repair Office by reinstalling the 32-bit engine, however updates will overwrite those changes.

To correct this issue, install the Access 2010 Database Engine Redistributable. The redistributable can be downloaded and installed from Microsoft's website (https://www.microsoft.com/en-us/download/details.aspx?id=13255). Be sure to select the 32-bit version.

When installation completes, restart Alpha Anywhere and try to connect to your Microsoft access database.

You must install the 32-bit version of the redistributable. Alpha Anywhere is not compatible with the 64-bit drivers. If 64-bit Office is installed, uninstall it and install the 32-bit version of Microsoft Office.

DB2

Failure to connect to a DB2 database may be the result of a configuration problem or because the DB2 client software is not installed. To install the DB2 client software, download and install the DB2 client software from IBM's website (http://www-01.ibm.com/support/docview.wss?uid=swg21418043). When installation completes, restart Alpha Anywhere and try to connect to your DB2 database again.