title: Cannot connect to local SQL Server with Management Studio
body: <p>I'm having an issue with SQL Server, I have 2005 installed on my desktop as well as having SQL Server Management Studio installed..</p>
  
  <p>I've checked and can see "SQL Server (SQLEXPRESS)" started in services.</p>
  
  <p>I've tried to connect to "Local" and "SQLEXPRESS" but both fail to connect.</p>
  
  <blockquote>
    <p>A network-related or instance-specific
    error occurred while establishing a
    connection to     SQL Server. The
    server was not found or was not
    accessible. Verify that the instance
    name is correct and that SQL Server is
    configured to allow remote
    connections. (provider: Named Pipes
    Provider, error: 40 - Could not open a
    connection to SQL Server) (.Net
    SqlClient Data Provider)</p>
  </blockquote>
  
  <p>Anything else I need to do to connect to it??</p>
  
  <hr>
  
  <h2>UPDATE</h2>
  
  <p>I seem to be getting a little further along now. Ive managed to connect to my server with SQL Server Management (FYI .\SQLEXPRESS did the trick)  but now im having a issue with my connection string in my web.config</p>
  
  <p>Ive im going to connect to this local sql server using windows authentication how do i need to structure it??</p>
  
  <p>Something like this?</p>
  
  <pre><code>&lt;add name="BensBoxing" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=BritBoxing_Alpha;Integrated Security=False;User Instance=True" providerName="System.Data.SqlClient"/&gt;
  </code></pre>
  
  <p>This produces a error about </p>
  
  <p>Login failed for user ''.</p>