Question

program cant find SQLite table.

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!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.