title: Failed to update .mdf database because the database is read-only (Windows application)
body: <p>I've created a database windows application using in C#. My application is running successfully on Windows XP, but it doesn't properly execute on Vista or Windows 7 systems. My application shows a message similar to </p>
  
  <blockquote>
    <p>Failed to update .mdf database because the database is read-only</p>
  </blockquote>
  
  <p>Can anyone give me a solution to this?</p>