title: can not connect to SQL database on amazon EC2 - microsoft project server database
body: <p>I am using SQL managment studio 2008 running on an Amazon EC2 machine. I am unable to connect to the database in my asp.net application. The EC2 instance has been set to accept connections over the SQL port. I am also able to remote the machine as well as view websites hosted on the server. Listed below is part of the connection string relating to this instance. When the program is ran and this connection string is called, it returns tcp error 0 - no return response. it just times out.</p>
  
  <pre><code>&lt;add name="ProjectServer" connectionString="Data Source=*IP ADDRESS HERE*,1433;Initial Catalog=*Catalog Name*;User ID=IP-0A6ED514\Administrator;"/&gt;
  </code></pre>
  
  <p>I removed the ip and the catalog name for the example, but I am sure they are correct. </p>
  
  <p>The only thing that I could think may cause an error, is the differences in names between the user id and the server name - the server name is ip-0A6ED514\sharepoint but the user name is ip-0A6ED514\administrator when I log into the sql server manager on the EC2 instance. A password is not used. Not sure if I would need to leave in a blank string for password - also not sure if the difference between server name and user id to log in makes a difference. Any help is appreciated. Thank you.</p>
  
  <p>update - when this connection string is used with out the port, i get tcp provider error 40 - when the port is in there, i get error 0 </p>
  
  <p>edit-  the sql server is using windows authentication - does this make a difference? Usually I always use SQL server authentication</p>
  
  <p>edit 2- now running sql express at same location, would i need a \SQLEXPRESS tag? I feel like after looking around and what could be the error, it is that I am reaching the machine ok, but its not pointing me to the DB, any suggestions?</p>