Home ยป ASP.net | C# | DotNet | SQL

Connection name 'LocalSqlServer' was not found

28. May 2010 by Administrator 0 Comments

Your development system is using a local SQL Express database which works fine when your on your own machine, but once its online, it’s still trying to find the same LocalSqlServer or localhost, and obviously cant. You can get round this in your web.config, using stuff like:

<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="etc etc".>

blog comments powered by Disqus