Report this

What is the reason for this report?

program cant find SQLite table.

Posted on September 21, 2018

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!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.