SQL CE 3.5 - First App

I'm working on developing my first WM 6 App using SQL CE 3.5 . I'm sure there are other apps out there that do what mine does, but I'm just wanting the experience of developing it.

I'm working on a fairly simple app to track gas mileage and such. But, for some reason, whenever I debug it, the app can't seem to find the database file. I get an error saying: "The database file cannot be found. Check the path to the database. [ Data Source = .\GasTrackerDB.sdf ]"

I can browse with file explorer on the device and find the database in the same directory as the deployed application, so I'm not really sure where to go from here..

I'm doing everything through the IDE, so all of the code is generated for me to connect to the database.

Anybody experienced enough to help me troubleshoot this stupid problem?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by treutel.andrew
3 hours ago
Last post by ekozey
2 hours ago
Moto X problem
Started by wkuphal
Last post by rowe.ferne
4 hours ago
Last post by dena61
2 hours ago
wallpaper
Started by addison32
Last post by chaz.kihn
1 hour ago
Last post by jaylon.lubowitz
2 hours ago