PDA

View Full Version : Web.config changes are added instead of changed



jenskjensen
10-07-2010, 08:50 AM
Hi.

We have 3 xml files containing the same information that we need to change.

All the files are updated using the "xml file change" feature.

two of them is just working but the last one, the web.config is getting strange result using the same commands in all of them.

When testing the xml change the result looks like this

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appSettings>
<add key="domain" value="[ADMDOMAIN]"></add>
<add key="password" value="[ADMPASSWORD]"></add>
<add key="user" value="[ADMUSER]"></add>
</appSettings>

When running the installation it looks like this:

<appSettings>
<add key="domain" value="testdomain"></add>
<add key="user" value="administrator"></add>
<add key="password" value="12345"></add>
<add key="EngineDataProvider" value="xxx"></add>
<add key="password" value="12345"></add> <------------
<add value="administrator" key="user"></add> <----------------
</appSettings>

Strangely enough it duplicates the password and the user node but not the domain node, but the properties in "xml file changes" are totaly the same.

Can anyone help me solve this puzzle?

Best regards,
Jens