Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection to ODBC database (MS Access *.accdb) #24780

Closed
qgib opened this issue Jul 18, 2017 · 2 comments
Closed

Connection to ODBC database (MS Access *.accdb) #24780

qgib opened this issue Jul 18, 2017 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Jul 18, 2017

Author Name: Juan Berrio (Juan Berrio)
Original Redmine Issue: 16881
Affected QGIS version: 2.14.16
Redmine category:data_provider


Problem when trying to connect to a *.accdb database via ODBC. QGIS gets frozen instead of connecting or providing an error message.

Also asked to the public in
https://gis.stackexchange.com/questions/247853/connecting-qgis-to-odbc-database-ms-access-accdb

Testing environment

Windows 7 64bit
MS Access 2016 32bit
ODBC drivers used: MS Access Database Engine 2016 32 bit (*.mdb, *.accdb)
Using ODBC 32bit config in Windows (C:\Windows\SysWOW64\odbcad32.exe)
Using QGIS 2.14.16 32bit
In QGIS, I use:

Steps to reproduce error (frozen QGIS)

  1. Create *.accdb database in MS Access 2016.

  2. Create ODBC connection to the database in Windows and test it works (test any other software can read it)

  3. Add vector layer > Database > Type ODBC > New

  4. Type ODBC > Name (name1) > Database Name (nameA)

  5. Test Connect: "connection to x was successful"

  6. Press OK --> QGIS gets frozen

I can read the same ODBC database from other applications (SQLite, MapInfo), so there is no problem with the ODBC side of it. It looks like something's not right on the QGIS side.

@qgib
Copy link
Contributor Author

qgib commented Jul 19, 2017

Author Name: Giovanni Manghi (@gioman)


Very likely a duplicated of #17462

please read that discussion, try proposed solutions(?) and report back. Thanks!


  • priority_id was changed from Low to High
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Sep 25, 2017

Author Name: Giovanni Manghi (@gioman)


Closing for lack of feedback, please reopen if necessary.


  • resolution was changed from to duplicate
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Sep 25, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Data Provider Related to specific vector, raster or mesh data providers Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption Data Provider Related to specific vector, raster or mesh data providers High Priority
Projects
None yet
Development

No branches or pull requests

1 participant