Forum Discussion

Ynr225's avatar
Ynr225
Helper II
1 year ago

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!

8 Replies

  • Hi Ynr225 

     

    Based on the error above what it is saying is that the Access is already open. And what that means is you need to close the file. So that is not open and being used by anyone, or it can be read via the Gateway.

    • Ynr225's avatar
      Ynr225
      Helper II

      Thanks for responding GilbertQ , I checked from my side and confirmed that no one has opened Access database. Again i tried to create the gateway but no luck. I can see the same error.

       

       

      • GilbertQ's avatar
        GilbertQ
        Super User

        Hi Ynr225 

         

        Could I ask you to please try and move the access database to a new location and see if that fixes it?