Forum Discussion
Unable to create gateway connection for Access database using ODBC connection type
Hello All,
Using connection string ODBC Microsoft Access database as a datasource in Power BI desktop, I was connected and built a report. I have published the report into Power BI service to collaberate with others. While creating gateway connection for ODBC data sorce type using connection string but unable to create it and getting below error message.
ODBC: ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x33b8 Thread 0x68fc DBC 0x3a9a05c8 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 0x33b8 Thread 0x68fc DBC 0x3a9a05c8 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. ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x33b8 Thread 0x68fc DBC 0x3a9a05c8 Jet'. ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key Temporary (volatile) Ace DSN for process 0x33b8 Thread 0x68fc DBC 0x3a9a05c8 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.
Also i was able to connect it in power BI desktop on gateway machine where On-premises data gateway is installed.
Below is the connection string i am using in both Desktop and Service.
driver={Microsoft Access Driver (*.mdb, *.accdb)};dbq=\\LAN Folder\Ynr_be.accdb.
Can anyone please help me on this to create the gateway connection for ODBC access database.
Thanks in advance!