This error occurs because the ODBC connection is not set up correctly.
Go into Control Panel > Administrative Tools > Data Sources (ODBC), then go to the System DSN tab, hit the configure button, and make sure that everything is set up correctly.