r - Connection to Access DB from RStudio stopped working after Microsoft Updates
问题描述
I have windows 10
and MS Office 365 Pro Plus
on my machine. They are both 64-bit and I did not have any problem running my R
Scripts until today that some Microsoft Updates were pushed to our system.
This is how I got connected from inside R
script to the Access
database:
library(RODBC)
db_address <- "S:/KTP/Inter/Data/Tools/Mend.accdb"
db <- odbcConnectAccess2007(db_address)
This is the error I get. I read for hours and tried everything possible, but none seems to work. Anyone has encountered this problem?
Warning messages:
1: In odbcDriverConnect(con, ...) : [RODBC] ERROR: state HY000, code 63, message [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x3374 Thread 0x2f14 DBC 0xfd96df78
Jet'. 2: In odbcDriverConnect(con, ...) : [RODBC] ERROR: state HY000, code 63, message [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x3374 Thread 0x2f14 DBC 0xfd96df78
Jet'. 3: In odbcDriverConnect(con, ...) : [RODBC] ERROR: state HY000, code -1073, message [Microsoft][ODBC Microsoft Access Driver] The database you are trying to open requires a newer version of Microsoft Access. 4: In odbcDriverConnect(con, ...) : ODBC connection failed
解决方案
推荐阅读
- android - 从 Kotlin Generic 获取泛型类
- linux - 如何从多个文件中打印每第 n 行并将其写入第 n 行的每一组?
- email - 安装postfixadmin?
- api - 无法使用 Google Tag Manager API 在 Google Tag Manager 中创建标签
- javascript - 从 AJAX 获取原始 HTTP 响应
- linux - Nginx - Lua 无法保存图像文件
- jersey - Jersey / CDI 2.0 / Weld 3.0 所需的依赖项
- node.js - openode.io 响应 502 Bad Gateway
- c# - 用于跳棋/跳棋的 Negamax 实施
- gcc - 使用 -ffunction-sections 标志编译的不同静态库