This project is read-only.

Unhandled exception while executing the command

Jun 25, 2009 at 12:42 PM
Edited Jun 26, 2009 at 10:29 AM

Hi,

I am getting an unhandled exception (An unhandled exception ('Launch for user') occurred in STSADM.EXE [4384]). Here is my sample xml code which I have used to test the utility.

<ConfigEntries owner="Integration.FeatureReceiver">
  <ConfigEntry>
    <Name>add[@key='eventName']</Name>
    <Path>configuration/appSettings</Path>
    <Value><![CDATA[<add key='eventName' value='Testing Web.config XML feature' />]]></Value>
  </ConfigEntry>
</ConfigEntries>

The command I am executing is "stsadm -o webconfig_apply -url http://weburl -configfile sample.dev.xml" and the exception dialog occurs for both the options webconfig_apply and webconfig_remove.

If I cancel the exception dialog, the stscommand executes properly and gets the message "http://weburl web.config file configured successfully". Could you please help me in avoiding this unhandled exception.

 

~ Gangadhar Kotu

Jun 25, 2009 at 12:44 PM

it was <Name>add[@key='eventName']</Name>.