I am a new QGIS user and have downloaded version 2.18.2 onto my PC (Windows 10). I'm trying to import a shapefile (using Database Manager) into a spatialite database that I created.

However, I keep getting the following error:

Error 8 loading of the layer "layer name" failed

Can anyone help me understand what the problem might be? I can add the shapefile to QGIS desktop as a layer without any trouble.

  • 1
    There is not enough information to answer this question. Can you share the Shapefile? If not, provide at least information about its fields. – underdark Jan 16 '17 at 22:24
  • Check whether your database contains a table (layer) with the same name, if there is something, delete the table and try again, – Cyril M May 28 '18 at 8:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.