Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3974308
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T04:33:10+00:00 2026-05-20T04:33:10+00:00

I created a SQLite database via SQLiteManager. I have a table called Envelopes, and

  • 0

I created a SQLite database via SQLiteManager. I have a table called Envelopes, and other tables. When I access it from code (below) I get an exception saying that the table I’m trying to access doesn’t exist. I’ve tried both Envelopes and ZVDB.Envelopes, and yes I’ve double checked my spelling of table names.

var conn = new SqliteConnection("Data Source=ZVDB");
using ( var cmd = conn.CreateCommand()) {
    conn.Open();
    cmd.CommandType = CommandType.Text;

    cmd.CommandText = "insert into Envelopes (Name, Remainder, Budget) values (@1, @2, @3); select @@identity";
    cmd.Parameters.Add("@1", DbType.String).Value = env.Name;
    cmd.Parameters.Add("@2", DbType.Int32).Value = env.Remainder;
    cmd.Parameters.Add("@3", DbType.Int32).Value = env.Budget;

    env.ID = (int) cmd.ExecuteScalar();
}

I have it in my MonoDevelop project, set with the proper action.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T04:33:11+00:00Added an answer on May 20, 2026 at 4:33 am

    This means the path to the database is wrong.

    In SQLite when you open a database that doesn’t exist, by default it will just create a blank new one. No error.

    When you then try to read or write to a table that doesn’t exist, you get the error you described.

    In the connection string you specified simply ZVDB with no path. Try specifying a full absolute path.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an SQLite database. I created the tables and filled them with a
I have made this code to open a database(created in SQLite browser) stored in
In this example we have 3 related tables on a SQLite database: CREATE TABLE
I just created a new SQLite database from the command line and I have
In my iPhone app, I have created index on Sqlite database table for some
I am creating a SQLite database for my iPhone projects. I have table called
I have created sqlite database which stores Latitude,Longitude and some other information like description.
I am new to using the SQLite database in iphone apps. I have created
I'm working on setting up a simple SQLite database to access via Python. So
I have creating a login form where I have created sqlite database,in this I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.