Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I need to move my running windows-based app (built in C#) to another machine, but I also need to transfer the whole data, how can I take a backup from the .sdf file and use it with the new installed app?

I tried to take a copy of the .sdf file, but I couldn't find it !

Any help ? ...

share|improve this question
Find the file - copy it - done! –  marc_s Mar 4 '13 at 7:38
How can you not find the .sdf file? That is like writing to /dev/null. –  leppie Mar 4 '13 at 7:45
I tried to search any *.sdf in the whole machine but i couldn't find it !! –  Alzayed Mar 4 '13 at 7:45
@Alzayed: It will tell you in the connection string. –  leppie Mar 4 '13 at 7:46
How to find the database path: See my blog post here: erikej.blogspot.dk/2013/02/… –  ErikEJ Mar 4 '13 at 8:14
show 2 more comments

migrated from stackoverflow.com Mar 4 '13 at 9:54

This question came from our site for professional and enthusiast programmers.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.