program cant find SQLite table.

September 21, 2018 680 views
Programming Project Ubuntu 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!

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.

Have another answer? Share your knowledge.