This answer to another question states:
Do not forget to clear the connectionStrings first:
<
In .Net config files are inherited, so your applications config will inherit settings from your machines config.
The tag will remove any inherited connection strings and thereby avoids confusion and potential problems.
In ASP.Net you may have several inherited connection strings, so this is very common there.