Table Not found - SQLITE error

I'm creating a windows phone 8 application.

I'm having some difficulty with my sqlite prepare statement. I get an error saying my table does not exist, although I've checked in multiple places for it, and it does exist, so I'm confused!

Hoping that someone can point me in the right direction :)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Pawan KumarDatabase ExpertCommented:
Try Database Path.

I think you path is incorrect. If our path is incorrect , SQLite internally creates an empty DB for you. <<So this new DB will not have any tables>>

Check below path....

SmashAndGrabAuthor Commented:

I have simplified the path now..

I still get the error!

Frustrating to say the least!
Pawan KumarDatabase ExpertCommented:
Ok, Lets hardcode the path and then try ?
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

SmashAndGrabAuthor Commented:

Do you mean ..

C:\Users\FFTILSBL\Documents\Visual Studio 2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp\bizData.db

dbConn = new SQLitePCL.SQLiteConnection(Windows.ApplicationModel.Package.Current.InstalledLocation.Path + @"\C:\Users\FFTILSBL\Documents\Visual Studio 2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp\bizData.db", SQLiteOpen.READWRITE);
SmashAndGrabAuthor Commented:
Pawan KumarDatabase ExpertCommented:
Not working correct ?

Use below-

@"C:\Users\FFTILSBL\Documents\Visual Studio 2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp\bizData.db"
SmashAndGrabAuthor Commented:
I changed it to:

dbConn = new SQLitePCL.SQLiteConnection(Windows.ApplicationModel.Package.Current.InstalledLocation.Path + @"C:\Users\FFTILSBL\Documents\Visual Studio 2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp\bizData.db", SQLiteOpen.READWRITE);

I get the same error
Pawan KumarDatabase ExpertCommented:

dbConn = new SQLitePCL.SQLiteConnection(@"C:\Users\FFTILSBL\Documents\Visual Studio\2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp\bizData.db", SQLiteOpen.READWRITE);
SmashAndGrabAuthor Commented:
i get the same error.

Take a look if you want..


Please join the meeting, by clicking on this link:

Meeting ID: m52-881-968

Buckwell Stuart - Easy online meeting & screen sharing
SmashAndGrabAuthor Commented:
I thought I'd setup a team viewer meeting?

If not, thats ok.

I tried the path you sent and it still didnt work.

Any ideas?
SmashAndGrabAuthor Commented:
Any further ideas friend?
Pawan KumarDatabase ExpertCommented:
So I am assuming that the path is fine. Also could you please do one thing. Get the final string of the path , put that in the start and press enter and check if we are getting to the database folder.

I am looking for some other options.!
SmashAndGrabAuthor Commented:
Sorry - I don't understand what you mean by:

" Get the final string of the path , put that in the start and press enter and check if we are getting to the database folder"
Pawan KumarDatabase ExpertCommented:
I wanted to store the value of Windows.ApplicationModel.Package.Current.InstalledLocation.Path + @"\C:\Users\FFTILSBL\Documents\Visual Studio 2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp\bizData.db

in a string variable.

and take that value and click on start and paste that value and press enter. then you should be in the DB folder.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SmashAndGrabAuthor Commented:
ok - If I paste this..

C:\Users\FFTILSBL\Documents\Visual Studio 2015\Projects\MCRS_Mobile\WP7.VideoScanZXing.SampleApp

into Windows explorer then it takes me to the folder where the database is.

Do you want to look on Team vweier?

Meeting ID: m52-881-968
SmashAndGrabAuthor Commented:
Pawan KumarDatabase ExpertCommented:
Sorry I was traveling, I am looking..
SmashAndGrabAuthor Commented:
thank you :)
SmashAndGrabAuthor Commented:
would you like to use Team v?
SmashAndGrabAuthor Commented:
its on now if you want to look?
SmashAndGrabAuthor Commented:

I found this on Google.

I see that it mentions the path - the only trouble this is written in Xcode and not C#.  

But it may point to the correct issue?
SmashAndGrabAuthor Commented:
hey - any luck?
Pawan KumarDatabase ExpertCommented:
Can you try accessing some other table using another query?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Phone

From novice to tech pro — start learning today.