I have multiple sites created on single server. IIS 7 is installed. And All these sites have same connectionstrings. But these are defined in their respective web.config file.
I want to remove these connectionstrings from all the web.config files and set at common location wither in machine.config or some other config file so that all the sites will access the same. Both these applications has different root config files.
- C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config
- C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config\web.config
Please suggest on this.