Database .sdf File Not Found

I am developing an application on Win 6 sdk with SQL Server CE for smart devices.

Problem is it throws an error while opening the SQL Server CE connection
it says

The path is not valid. Check the directory for the database. [ Path = Data Source=.DatabaseSFAHabib.sdf ]

My connection string:

I ve tried full path too..

Here is my function where iam opening the connection

Source: windows

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.