I have 2 connection string in a web.config file, they have different names and are displayed as seperate nodes when i import them as xml. In the XML Editor I can see the "name" attribute has the 2 different values.
However, when I run the installer the web config that is created has the same "name" attribute for both connection strings. For example:
Source web config xml has
...
<add name="ConnectionStringName_1" ...
<add name="ConnectionStringName_2" ...
...
after installation web config shows
...
<add name="ConnectionStringName_1" ...
<add name="ConnectionStringName_1" ...
...
What are the correct settings to prevent this from happening? I've tried various things but not managed to get it to work yet
I think it is happening because the element name is "add" for all connection strings.
FOLLOW US
Get the latest news in Application Packaging