Hi,
I'm failing at step 0 in getting MS Access to work (reliably at least). I've reviewed the following:
The FAQ: https://tech.knime.org/faq#q21 (which seems to be out of date, as it still references ODBC access);
A couple of very helpful forum posts:
https://tech.knime.org/node/20814 and https://tech.knime.org/forum/knime-general/no-connection-to-ms-access-database
First, when adding files or directories via KNIME > Preferences > Databases, the file or directory doesn't show up in the list until the second time through - is it supposed to be this way?
Second, when UcanAccess is loaded, I get the following error via the various log files:
!ENTRY org.eclipse.ui 4 0 2017-05-05 16:15:02.506
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at net.ucanaccess.jdbc.UcanloadDriver.getMajorVersion(UcanloadDriver.java:129)
at org.knime.core.node.port.database.DatabaseWrappedDriver.getInfo(DatabaseWrappedDriver.java:155)
Looking at the UcanloadDriver code, this may be related to a need to set environment variables for UCanAccess to work correctly? It is accompanied by the following error via the console:
ERROR KNIMECorePlugin FATAL: error initializing KNIME repository - check plugin.xml and classpath
Finally, when I configure an Access 2016 database, and click the Fetch Metadata button, nine times out of ten, the connection to the database times out as follows (even with a timeout set to 60s):
2017-05-05 15:43:21,297 : WARN : SwingWorker-pool-6-thread-2 : DBReaderDialogPane : Database Reader : 2:1 : Error during fetching metadata from database, reason: java.io.IOException: Connection to database 'jdbc:ucanaccess://C:/CDA_Downloads/2014_Wells.accdb;memory=false' timed out
Once in a while, the exact same configuration works, and I'm a happy KNIME user. Would really like to get it working the other 9 out of 10 times too!
This is all on 64 bit Windows 7, with a fresh clean current installation of KNIME, and UCanAccess 4.0.2. I tried the 3.0.7 version, but no different.
UCanAccess jars copied to C:\Program Files \KNIME\jre\lib\ext:
05/05/2017 15:59 284,220 commons-lang-2.6.jar
05/05/2017 15:59 60,031 commons-logging-1.1.1.jar
05/05/2017 15:59 1,467,326 hsqldb.jar
05/05/2017 15:59 855,824 jackcess-2.1.6.jar
05/05/2017 16:16 367,701 ucanaccess-4.0.2.jar
Does anyone have a recipe for getting KNIME up and running, reliably, using the current toolset, or any suggestions on what I might be missing? I've tried all the obvious (to me at least) things - very puzzled, as I thought this would be the easy first step in my KNIME adventure!
Thank you.
Dan.