title: An Attempt to attach an auto-named database Error
body: <p>"An attempt to attach an auto-named database for file C:\Users\John\documents\visual studio 2010\Projects\PAS\PAS\bin\Debug//PatAddSys.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share."</p>
  
  <p>What's wrong here? I have the correct code for my path ( I think) but still this error occurs here is my database path</p>
  
  <pre><code>private string dbPath = Application.StartupPath + "//PatAddSys.mdf";
  </code></pre>
  
  <p>Here's the location of My Database</p>
  
  <p><img src="https://i.stack.imgur.com/1CdZo.png" alt="enter image description here"></p>