title: Failed to update database because the database is read only
body: <p>This message appears every time I try to save the data to the DB.</p>
  
  <pre><code>Failed to update database because the database is read only
  </code></pre>
  
  <p>Note: This error comes only when the application is installed to C drive.</p>
  
  <p>Front End: VB.NET</p>
  
  <p>Back End:SQL Server</p>
  
  <p>Is there any way to overcome this issue?
  Or any way to restrict the user from installing the application on C drive?</p>