re:
!I don't even refer to "LocalSqlServer" in my project!
"LocalSqlServer" is the default connection.
If you don't want to use it, or you need to re-define it, you must remove it.
Juan T. Llibre, asp.net MVP
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
======================================
"Cirene" <ci****@nowhere.comwrote in message news:%2****************@TK2MSFTNGP02.phx.gbl...
All my SQLDataSources reference the "ConnectionString" in my web.config. Everything works on my dev machine.
When I uploaded everything to the server the db stuff would NOT work until I added a "<remove name="LocalSqlServer"/>"
and "<add name=LocalSqlServer" connectionString="......" to the web.config.
Why is this?
I don't even refer to "LocalSqlServer" in my project!