title: How to fix TF246017 The Team foundation server could not connect to database
body: <p>I'm getting nothing but this error <code>TF246017</code> I'm not able to access TFS as admin or domain user</p>
  
  <ol>
  <li>While accessing administration console, showing the error <code>TF246017</code></li>
  <li>Domain users getting <code>TF31001</code> where the server returns <code>TF246017</code></li>
  </ol>
  
  <p>TFS was working fine with SQL Server 2008. And now we have also installed SQL server 2012 in the same machine.( I believe it doesn't connected anyway to tfs server)</p>
  
  <p>But, even after uninstalling SQL 2012, it displays the same error</p>
  
  <p>In application tier/ database tier, getting error as <code>Error retrieving value</code>. </p>
  
  <p>Unable to access <code>http://xxxxxxx:8080/tfs</code> displays same error <code>TF246017</code></p>
  
  <p>And also, im unable to locate the sql express database to take the backup. </p>
  
  <p><strong>How</strong> to resolve this issue?</p>
  
  <p>Note : I'm using TFS 2012 and VS2010</p>