program cant find SQLite table.

Posted September 21, 2018 1.7k views
Programming ProjectUbuntu 18.04

Hello, i created a droplet, installed dotnet Core and sqlite3, imported my files, when i try to run the application everything works as it should except for when it has to do something with the Database.sqlite file, the cmd puts out “SQLite error 1: ‘No such table: User’ ”. however i am able to manually insert values into the table from the cmd. The program works flawlessly on my own pc. Could this just be a coding error?

I’m very new to this so please explain it as simply as you can. Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

You are receiving a SQLite error which means that SQLite is installed correctly. What you want to make sure it is that it is opening the correct database as expected and that you have transferred the data for that DB.

Right now it looks like there is no such Table “User” which is why you are receiving that error. Perhaps the DB is unpopulated.