Last post Apr 03, 2014 05:41 PM by PatriceSc
Apr 03, 2014 05:28 PM|mRizvandi|LINK
I have question about the 'LocalSqlServer' connection string.
I have web.config file with conectionstring, membership, rolemanager and profile section.
Everything is ok and there is no any error. but i got the "The connection name 'LocalSqlServer' was not found in the applications configuration or the connection string is empty." error, when i add clear and remove 'LocalSqlServer':
<add name="MyDBConnectionString" ...
I am curious to know why i need 'LocalSqlServer' instead of my
Why error disappeat when i remove the "clear" and "remove" from connection string section?
Thanks in advance.
Apr 03, 2014 05:41 PM|PatriceSc|LINK
More likely you still have something configured to use the LocalSqlServer connection string. Search in web.config and machine.config files for LocalSqlServer...