Hello All, 

I have rectified the error by giving the correct file path in 

<util:XmlFile Id="UpdateConnectionString" 
              File="fil594EFB91CA3F8AABFA244E39F388B8F8" 
              Action="setValue" 
              ElementPath= 
               
"//configuration/connectionStrings/add[\[]@name=’mainConn’[\]]/@connectionString"
 
             
Value="HOST=[DATABASESERVERNAME];SERVICE_NAME=[DATABASENAME];Integrated
Security=SSPI;"/> 

But now I am getting the error

Failed to find node

I want to update the host and port details in the following xml
configuration

<configuration>
        <connectionStrings> 
                
                <add name="mainConn" connectionString="Data
Source=(DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST = test)(PORT =
1521))     (CONNECT_DATA =       (SERVER = DEDICATED)       (SERVICE_NAME =
test)     )   );Provider=OraOLEDB.Oracle;
OLEDB.NET=true;PLSQLRSet=true;Password=test;User ID=test;" /> 
                
        </connectionStrings> 


</configuration>


Could any one help me out?

Thanks & Regards,
Bharat Jasti
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Reg-Updating-connection-strings-in-web-config-tp5966709p5981933.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to