title: Copy of a SQL Server CE Database Asks For Password When i Try To Open It
body: <p><strong>Hi Experts</strong></p>
  
  <p>I am writing a Winforms application in C# with a SQL Server CE database, I created a backup of the <code>Database.sdf</code> file using <code>File.Copy()</code> method and everything worked as expected.</p>
  
  <p>But when I try to open the recently created <code>BackUpDatabase.sdf</code> file with SSMS to check out the backup, it says </p>
  
  <blockquote>
    <p><em>The Specified file is either not a valid SQL Server Compact File or it is corrupt. Would you like to repair it?</em></p>
  </blockquote>
  
  <p>When I click <strong>yes</strong>, another dialog "Connect to Server" appears which says    </p>
  
  <blockquote>
    <p><em>Cannot connect to G:\DataBaseBackUpFile.sdf.</em></p>
    
    <p><em>The password specified for the source database is incorrect. [ Data Source = G:\DataBaseBackUpFile.sdf ] (SQL Server Compact ADO.NET Data Provider)</em></p>
  </blockquote>
  
  <p>Now I request you experts to kindly help me to figure this error out</p>
  
  <p>Thanks a lot.</p>