title: Can't connect to Windows Azure Database
body: <p>I am trying to connect to a windows azure database through visual studio</p>
  
  <p>Here are my steps :</p>
  
  <ul>
  <li>I press add connection on the server explorer</li>
  <li>fill in the server name .database.windows.net</li>
  <li>Select Use SQL server Authentication </li>
  <li>Fill in the username and password</li>
  <li>Enter a database name</li>
  </ul>
  
  <p>When I press Ok, I have to wait some time and then it gives and error 40: could not connect to sql server.</p>
  
  <p>My Azure server is set to accept ip from (0.0.0.0 - 255.255.255.255) and so is the MicrosoftServices, can someone please help me with this? I'm really stuck, I've tried about everything I could think of :(</p>
  
  <p>I was following this tutorial:
  <a href="http://social.technet.microsoft.com/wiki/contents/articles/2151.windows-azure-and-sql-azure-tutorials-tutorial-2-using-sql-azure-en-us.aspx" rel="nofollow">http://social.technet.microsoft.com/wiki/contents/articles/2151.windows-azure-and-sql-azure-tutorials-tutorial-2-using-sql-azure-en-us.aspx</a></p>
  
  <p>Got stuck at step 7...</p>