I don't know of any better diagnostics but your error vanishes if you change your selection language to "XPath".
-----Original Message----- From: Hans ter Horst [mailto:hoshis...@gmail.com] Sent: 29 May 2012 08:12 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Web.config connection string: Failed to find node(Wix 3.5) Thanks Peter, unfortunately that space is not in the real code, it was introduced when I copied/modified it in my email client. Is there a way to get util:XmlFile to trace what it is actually doing? Thanks, Hans On Mon, May 28, 2012 at 3:11 PM, Hans ter Horst <hoshis...@gmail.com> wrote: > Hello, I have googled left and right and cannot find why I get a > "Failed to find node" error on this piece of code: > > <Component Id="AddConnectionString" > Guid="{CF219EFA-063D-4575-BDCB-9222B722DE6E}" KeyPath="yes"> > <util:XmlFile Id="ModifyConnectionString" > Action="setValue" > Permanent="yes" > ElementPath="/configuration/connectionStrings/add[\[]@name='MYNAME'[\]]" > Name="connectionString" > File="[WEBCONFIG]" > Value="Integrated Security=SSPI;Persist Security Info=False;Initial > Catalog=[SQLDB];Data Source=[SQLHOST]" > SelectionLanguage="XSLPattern" > Sequence="1" /> > </Component> > > Summary of the existing web.config file: > > <configuration> > <connectionStrings> > <add name="MYNAME" connectionString="Integrated > Security=SSPI;Persist Security Info=False;Initial Catalog=SOMEDB;Data Source=SOMEHOST" > providerName="System.Data.SqlClient" /> > </connectionStrings> > </configuration> > > > Thanks for your help. > > -- > http://monochrome.me.uk/blog/ > > -- http://monochrome.me.uk/blog/ ----------------------------------------------------------------------------- - Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users