I have a web.config in ASP.net giving me configuration error.
<connectionStrings>
<add name="conn1" connectionString="Data Source=test;database=test;uid=test;pwd=test"/>
<add name="conn2" connectionString="Data Source=123.123.1.123;database=test2;uid=test;pwd=test"/>
...
It throws "The entry 'conn2' has already been added." error. I know I only added it once. Not sure what it is wrong with.
web.config
, you must have definedconn2
somewhere else; otherwist it will not error out. Well I just tested adding those given connection string to my test web.config file and it didn't throw any error. – Tarrsus