title: Access denied to Sql Server mdf file from Visual Studio 2013 data connections
body: <p>After a fresh install of Windows 8.1 and VS 2013, I noticed that adding a data connection from VS to a Sql server database file didn't work. I tried an existing mdf file.</p>
  
  <p>I installed VS 2013 ultimate and I assume that this installattion includes Sql server tools to open database files (I included that during installation). But I did not install any Sql server edition or express edition.</p>
  
  <p>Error: "unable to open the physical file", "access denied" and also: "an atttempt to attach an auto-named database for file ...mdb failed" and "a database with the same name exists, or specified file cannot be opened, or it is located on UNC share".</p>
  
  <p>Well my account is an administrative local account and I run VS in administrative mode. I checked the security of the files and the group 'administrators' has all rights.<br>
  Also the mdf file is not corrupt or so and on the local hard drive.</p>