title: Using SQL Server Express on localhost for a web application
body: <p>I created a web application that it should run in local and I don't need to transfer it to host, but when I try to run my web application on local I get this error :</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: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. Cannot create an automatic instance. See the Windows Application event log for error details.</p>
  </blockquote>
  
  <p>Other projects that use SQL Server 2008 R2 run without any problem but this project that uses SQL Server Express shows this error.</p>