title: Database project deploy fails in Visual Studio 2013
body: <p>I have a database project in a solution which will not deploy from Visual Studio 2013. It fails with an error message <code>"Unable to connect to target server"</code>. </p>
  
  <p>The same project, when opened in Visual Studio 2012 deploys without an issue.</p>
  
  <p>The database is Sql 2012 hosted in a Sql 2014 engine (express)</p>
  
  <p>The deployment settings are thus  (with names changed to protect the innocent):</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"&gt;
    &lt;PropertyGroup&gt;
      &lt;IncludeCompositeObjects&gt;True&lt;/IncludeCompositeObjects&gt;
      &lt;TargetDatabaseName&gt;TestDatabase&lt;/TargetDatabaseName&gt;
      &lt;DeployScriptFileName&gt;TestDatabase.Database.sql&lt;/DeployScriptFileName&gt;
      &lt;TargetConnectionString&gt;Data Source=.\SQL2014;Integrated Security=True;Pooling=False&lt;/TargetConnectionString&gt;
      &lt;ProfileVersionNumber&gt;1&lt;/ProfileVersionNumber&gt;
    &lt;/PropertyGroup&gt;
  &lt;/Project&gt;
  </code></pre>
  
  <p>I have also tried the deployment with using a username and password rather than Integrated security...</p>