title: Publish remote server [Win32Exception (0x80004005)]
body: <p>I'm wondering if my connection string is wrong because when I publish this on a server it doesn't work, otherwise when I test it on debug mode it works.</p>
  
  <pre><code>&lt;add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=aspnet-app-20130122205025;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnet-app-20130122205025.mdf"
        providerName="System.Data.SqlClient" /&gt;
      &lt;add name="SiteSourceContext" connectionString="Data Source=(localdb)\v11.0; Initial Catalog=SiteSourceContext-20130125171153; Integrated Security=True; MultipleActiveResultSets=True; AttachDbFilename=|DataDirectory|SiteSourceContext-20130125171153.mdf"
        providerName="System.Data.SqlClient" /&gt;
  </code></pre>
  
  <p>Can someone help out? Im relatively new and trying to learn, so I dont know what Im doing but this is the error I get:</p>
  
  <pre><code>[Win32Exception (0x80004005): The specified file is not found]
  
  [SqlException (0x80131904): A network-related error or instance-specific 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: 52 - Could not locate installation of a runtime database locally. Verify that SQL Server Express is installed and the runtime functionality of local database is enabled.) ]
     System.Data.SqlClient.SqlInternalConnection.OnError (SqlException exception, Boolean breakConnection, Action `1 wrapCloseInAction) 6675286
     System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning (TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 688
  </code></pre>