title: Microsoft SQL Server Native Client 11.0 : Cannot open database
body: <pre><code>c:\windows\system32\cmd.exe /c sqlcmd -S (localdb)\v11.0 -d Adv
  entureWorksDW2008R2
  </code></pre>
  
  <p>I am getting the following error : </p>
  
  <blockquote>
    <p>Sqlcmd: Error: Microsoft SQL Server Native Client 11.0 : Cannot open
    database "A dventureWorksDW2008R2" requested by the login. The login
    failed.</p>
  </blockquote>
  
  <p>I am using active directory credentials... not using any special credentials; How to make the above command work for AD user?</p>