I used an existing SQLCE database from a netCF app running on a winmo 6 device. I was able to generate the data context from the database using the toolbox. But when I deploy to the phone, I get an "Unspecified error has occurred". I can deploy MSDN samples fine.
Comments: ** Comment from web user: ErikEJ **
Comments: ** Comment from web user: ErikEJ **
By design: You cannot include a password protected file as an embedded resoure, you can only create on device - see my blog post here: http://erikej.blogspot.dk/2012/03/windows-phone-local-database-tip.html