title: Connection to SQL Azure with Delphi?
body: <p>I am failing to connect to SQL Azure using Delphi 2010 and dbGo. What is wrong and how to resolve that ?</p>
  
  <p>The details:</p>
  
  <p>The TADOConnection with the following connection string (the login info is changed):</p>
  
  <p><code>Provider=SQLNCLI10.1;Integrated Security="";Persist Security Info=False;User ID=me@tyasdgerj5;Initial Catalog=Northwind;Data Source=tcp:tyasdgerj5.database.windows.net;Initial File Name="";Server SPN=""</code></p>
  
  <p>Returns the following error text:</p>
  
  <p>Server name cannot be determined.  It must appear as the first segment of the server's dns name (servername.database.windows.net).  Some libraries do not send the server name, in which case the server name must be included as part of the user name (username@servername).  In addition, if both formats are used, the server names must match..</p>
  
  <p>Note, that SQL Server Management Studio connects without problems. </p>