【问题标题】:How to specify "read-only" for Datafactory reading from an Access DB如何为从 Access DB 读取的 Datafactory 指定“只读”
【发布时间】:2021-12-06 06:24:07
【问题描述】:

我正在尝试从 Microsoft Access 数据库中提取数据。访问数据库似乎被其他人使用,不属于我/我的团队。我只是在取出数据,所以我设置的用户不需要写权限,但我不确定如何在 Access 连接字符串中设置。

本地机器上的集成运行时已设置,在设置 Access DB 链接服务时,我使用以下连接字符串:

Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=\\hostserver\filepath\filename.accdb;

我尝试附加“applicationintent=readonly”、“mode=read”、“admode=read”和其他几个变体,但总是收到错误消息“无效的连接字符串属性'mode'”。如果未指定,我会收到:

ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x3070 Thread 0x326c DBC 0xb81000b8 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x3070 Thread 0x326c DBC 0xb81000b8 Jet'. ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver] The Microsoft Access database engine cannot open or write to the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view and write its data.

【问题讨论】:

    标签: azure-data-factory access-database-engine


    【解决方案1】:

    我想出了如何正确连接,只读不是问题,而且我从来没有最终弄清楚如何指定它。如果您难以从数据工厂连接到 Access DB,请查看此链接:

    How to connect my DataFactory instance to an Access Database?

    【讨论】:

      猜你喜欢
      • 2014-06-15
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-07-07
      • 1970-01-01
      • 2016-07-24
      相关资源
      最近更新 更多