title: Why doesn't VS show my created database in the 'Select or Enter a Database name' dropdown list?
body: <p>I created a database named <code>sample</code> in SQL server management Studio 2008 and created a table too. But When I wanted to connect to the created database from the Visual Studio 2010, it did not show my created database.</p>
  
  <p>All I did is I clicked ..</p>
  
  <pre><code>Tools --&gt; Connect to Database --&gt; Selected the server name --&gt; Clicked 'Use Windows Authentication'---&gt; clicked the drop down list of 'Select or enter a database name'.
  </code></pre>
  
  <p>It dint show my created database <code>sample</code> but showed <code>master, model, msdb, Reportserver, reportserverTempdb, Tempdb</code>. </p>
  
  <p>If I enter the database name, I get the following error:</p>
  
  <pre><code>"This connection cannot be tested because the specified database does not exist or is not visible to the specified user"
  </code></pre>
  
  <p>What could be the problem and how do I solve it? I am looking forward to solve this problem as soon as possible.</p>