<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>stsadm.webconfig</title><link>http://stsadmwebconfig.codeplex.com/project/feeds/rss</link><description>Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.</description><item><title>Source code checked in, #49966</title><link>http://stsadmwebconfig.codeplex.com/SourceControl/changeset/changes/49966</link><description>Checked in by server upgrade</description><author>_TFSSERVICE</author><pubDate>Mon, 19 Jul 2010 20:19:27 GMT</pubDate><guid isPermaLink="false">Source code checked in, #49966 20100719081927P</guid></item><item><title>New Post: How to use on a cluster</title><link>http://stsadmwebconfig.codeplex.com/Thread/View.aspx?ThreadId=77615</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is it possible to use stsadm.webconfig on a cluster?&lt;br&gt;You have to give stsadm.webconfig the url to the webapplication. So you don't know on which server you currently are.&lt;/p&gt;&lt;/div&gt;</description><author>mtbak313</author><pubDate>Wed, 09 Dec 2009 17:00:18 GMT</pubDate><guid isPermaLink="false">New Post: How to use on a cluster 20091209050018P</guid></item><item><title>Closed Issue: connection strings are getting removed [2228]</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2228</link><description>While using webconfig_apply, the command is adding the connection strings to the web.config file. Where as the connection string entries are not getting removed while using webconfig_remove command. The following are entries in the xml file.&lt;br /&gt;&lt;br /&gt;&amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;connectionStrings&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;connectionStrings &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureSection&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;  &amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;add&amp;#91;&amp;#64;key&amp;#61;&amp;#39;pubsConnectionString&amp;#39;&amp;#93;&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#47;connectionStrings&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;add name&amp;#61;&amp;#39;pubsConnectionString&amp;#39; connectionString&amp;#61;&amp;#39;Initial Catalog&amp;#61;pubs&amp;#59;User Id&amp;#61;sa&amp;#59;password&amp;#61;p&amp;#64;ssword&amp;#59;Data Source&amp;#61;.&amp;#92;SQLEXPRESS&amp;#39; providerName&amp;#61;&amp;#39;System.Data.SqlClient&amp;#39; &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureChildNode&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;&lt;br /&gt;Please look in to this.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>richfinn</author><pubDate>Fri, 18 Sep 2009 23:13:34 GMT</pubDate><guid isPermaLink="false">Closed Issue: connection strings are getting removed [2228] 20090918111334P</guid></item><item><title>Commented Issue: connection strings are getting removed</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2228</link><description>While using webconfig_apply, the command is adding the connection strings to the web.config file. Where as the connection string entries are not getting removed while using webconfig_remove command. The following are entries in the xml file.&lt;br /&gt;&lt;br /&gt;&amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;connectionStrings&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;connectionStrings &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureSection&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;  &amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;add&amp;#91;&amp;#64;key&amp;#61;&amp;#39;pubsConnectionString&amp;#39;&amp;#93;&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#47;connectionStrings&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;add name&amp;#61;&amp;#39;pubsConnectionString&amp;#39; connectionString&amp;#61;&amp;#39;Initial Catalog&amp;#61;pubs&amp;#59;User Id&amp;#61;sa&amp;#59;password&amp;#61;p&amp;#64;ssword&amp;#59;Data Source&amp;#61;.&amp;#92;SQLEXPRESS&amp;#39; providerName&amp;#61;&amp;#39;System.Data.SqlClient&amp;#39; &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureChildNode&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;&lt;br /&gt;Please look in to this.&lt;br /&gt;Comments: ** Comment from web user: richfinn ** &lt;p&gt;This is not due to a bug, but rather the order in which the items are being removed.  Since you are removing the &amp;#60;connectionStrings&amp;#47;&amp;#62; section before you are removing the &amp;#60;add&amp;#47;&amp;#62; item, it doesn&amp;#39;t know what to do.  Try creating a second file used for the remove command that first removes the &amp;#60;add&amp;#47;&amp;#62; item, then removes the &amp;#60;connectionString&amp;#47;&amp;#62; section...&lt;/p&gt;</description><author>richfinn</author><pubDate>Fri, 31 Jul 2009 15:29:43 GMT</pubDate><guid isPermaLink="false">Commented Issue: connection strings are getting removed 20090731032943P</guid></item><item><title>Commented Issue: connection strings are getting removed</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2228</link><description>While using webconfig_apply, the command is adding the connection strings to the web.config file. Where as the connection string entries are not getting removed while using webconfig_remove command. The following are entries in the xml file.&lt;br /&gt;&lt;br /&gt;&amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;connectionStrings&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;connectionStrings &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureSection&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;  &amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;add&amp;#91;&amp;#64;key&amp;#61;&amp;#39;pubsConnectionString&amp;#39;&amp;#93;&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#47;connectionStrings&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;add name&amp;#61;&amp;#39;pubsConnectionString&amp;#39; connectionString&amp;#61;&amp;#39;Initial Catalog&amp;#61;pubs&amp;#59;User Id&amp;#61;sa&amp;#59;password&amp;#61;p&amp;#64;ssword&amp;#59;Data Source&amp;#61;.&amp;#92;SQLEXPRESS&amp;#39; providerName&amp;#61;&amp;#39;System.Data.SqlClient&amp;#39; &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureChildNode&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;&lt;br /&gt;Please look in to this.&lt;br /&gt;Comments: ** Comment from web user: subhashkotu ** &lt;p&gt;sorry. the title should be &amp;#34;connection strings are not getting removed&amp;#34;.&lt;/p&gt;</description><author>subhashkotu</author><pubDate>Tue, 14 Jul 2009 07:41:16 GMT</pubDate><guid isPermaLink="false">Commented Issue: connection strings are getting removed 20090714074116A</guid></item><item><title>Created Issue: connection strings are getting removed</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2228</link><description>While using webconfig_apply, the command is adding the connection strings to the web.config file. Where as the connection string entries are not getting removed while using webconfig_remove command. The following are entries in the xml file.&lt;br /&gt;&lt;br /&gt;&amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;connectionStrings&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;connectionStrings &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureSection&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;  &amp;#60;ConfigEntry&amp;#62;&lt;br /&gt;    &amp;#60;Name&amp;#62;add&amp;#91;&amp;#64;key&amp;#61;&amp;#39;pubsConnectionString&amp;#39;&amp;#93;&amp;#60;&amp;#47;Name&amp;#62;&lt;br /&gt;    &amp;#60;Path&amp;#62;configuration&amp;#47;connectionStrings&amp;#60;&amp;#47;Path&amp;#62;&lt;br /&gt;    &amp;#60;Value&amp;#62;&amp;#60;&amp;#33;&amp;#91;CDATA&amp;#91;&amp;#60;add name&amp;#61;&amp;#39;pubsConnectionString&amp;#39; connectionString&amp;#61;&amp;#39;Initial Catalog&amp;#61;pubs&amp;#59;User Id&amp;#61;sa&amp;#59;password&amp;#61;p&amp;#64;ssword&amp;#59;Data Source&amp;#61;.&amp;#92;SQLEXPRESS&amp;#39; providerName&amp;#61;&amp;#39;System.Data.SqlClient&amp;#39; &amp;#47;&amp;#62;&amp;#93;&amp;#93;&amp;#62;&amp;#60;&amp;#47;Value&amp;#62;&lt;br /&gt;    &amp;#60;ModType&amp;#62;EnsureChildNode&amp;#60;&amp;#47;ModType&amp;#62;&lt;br /&gt;  &amp;#60;&amp;#47;ConfigEntry&amp;#62;&lt;br /&gt;&lt;br /&gt;Please look in to this.&lt;br /&gt;</description><author>subhashkotu</author><pubDate>Tue, 14 Jul 2009 07:37:40 GMT</pubDate><guid isPermaLink="false">Created Issue: connection strings are getting removed 20090714073740A</guid></item><item><title>Updated Wiki: Home</title><link>http://stsadmwebconfig.codeplex.com/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br /&gt;&lt;br /&gt;While SharePoint provides developers with an API to manage web.config modifications, those entries are commonly managed via custom, hard-coded Features or stsadm commands, which means packaging and deploying code to run and test changes. And, to top it off, SPWebConfigModification is not the easiest object to use, and takes a little bit of work to get right.  That's why stsadm.webconfig was created.&lt;br /&gt;&lt;br /&gt;While this custom stsadm command does not make creating the xpath needed to define the modification any easier, it does make managing your config entries extremely easier.  Developers can now define web.config entries in an XML file deployed to the [12]/Config directory, run this stsadm command, and have those entries applied to the web.config file.&lt;br /&gt;&lt;br /&gt;For example, there is a sample config file deployed with this command which will configure a web application for version 3.5 of ajax.asp.net [12]/Config/config.sample.ajax35.xml.&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;To apply: stsadm -o webconfig_apply -url http://webappurl -configfile config.sample.ajax35.xml&lt;/li&gt;
&lt;li&gt;To remove: stsadm -o webconfig_remove -url http://webappurl -configfile config.sample.ajax35.xml&lt;/li&gt;&lt;/ul&gt;
&lt;br /&gt;&lt;b&gt;Another thing which can now be accomplished&lt;/b&gt; is that farm-specifc config values can be defined in a single solution by creating different xml config files like customapp.dev.xml, customapp.test.xml, customapp.prod.xml.  If using WSPBuilder, for example, a developer can add those files to the wsp project in the /12/Config directory, and when the WSP is created and moved through the environments, the config settings will move with the solution.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;One thing to point out:&lt;/b&gt; it's best to have a special sharepoint web application in development to test your web config changes.  It is easy to mess up your web config file, and you don't want to ruin your environment.  Start with a single simple config modification, test it, retract it, and then add the next one.  Don't start developing your config changes and then test all of them at once.&lt;br /&gt;&lt;br /&gt;The config file follows a simple pattern:&lt;br /&gt;&amp;lt;ConfigEntries owner=&amp;quot;[Title of config changes. example: ProdConfigChanges]&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;!--&lt;br /&gt;    &amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;      &amp;lt;Name&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;      &amp;lt;Path&amp;gt;&amp;lt;/Path&amp;gt;&lt;br /&gt;      &amp;lt;Value&amp;gt;&amp;lt;![CDATA[***entry goes here***]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;      &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;    &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;    --&amp;gt;&lt;br /&gt;&amp;lt;/ConfigEntries&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;example config file (from config.sample.ajax35.xml)&lt;/b&gt;&lt;br /&gt;&amp;lt;ConfigEntries owner=&amp;quot;AjaxifyMoss35&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;    &amp;lt;Name&amp;gt;add[@verb='GET,HEAD'][@path='ScriptResource.axd'][@validate='false'][@type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35']&amp;lt;/Name&amp;gt;&lt;br /&gt;    &amp;lt;Path&amp;gt;configuration/system.web/httpHandlers&amp;lt;/Path&amp;gt;&lt;br /&gt;    &amp;lt;Value&amp;gt;&amp;lt;![CDATA[&amp;lt;add verb='GET,HEAD' path='ScriptResource.axd' validate='false' type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/&amp;gt;]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;    &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;  &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;  &amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;    &amp;lt;Name&amp;gt;add[@name='ScriptModule'][@type='System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35']&amp;lt;/Name&amp;gt;&lt;br /&gt;    &amp;lt;Path&amp;gt;configuration/system.web/httpModules&amp;lt;/Path&amp;gt;&lt;br /&gt;    &amp;lt;Value&amp;gt;&amp;lt;![CDATA[&amp;lt;add name='ScriptModule' type='System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/&amp;gt;]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;    &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;  &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;  &amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;    &amp;lt;Name&amp;gt;SafeControl[@Assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'][@Namespace='System.Web.UI'][@TypeName='*'][@Safe='True']&amp;lt;/Name&amp;gt;&lt;br /&gt;    &amp;lt;Path&amp;gt;configuration/SharePoint/SafeControls&amp;lt;/Path&amp;gt;&lt;br /&gt;    &amp;lt;Value&amp;gt;&amp;lt;![CDATA[&amp;lt;SafeControl Assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' Namespace='System.Web.UI' TypeName='*' Safe='True' /&amp;gt;]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;    &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;  &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;&amp;lt;/ConfigEntries&amp;gt;&lt;/div&gt;</description><author>richfinn</author><pubDate>Mon, 06 Jul 2009 14:33:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090706023331P</guid></item><item><title>Reviewed: stsadm.webconfig 1.0.0.0 (Jul 06, 2009)</title><link>http://stsadmwebconfig.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28534</link><description>Rated 4 Stars &amp;#40;out of 5&amp;#41; - Working fine..</description><author>subhashkotu</author><pubDate>Mon, 06 Jul 2009 09:25:48 GMT</pubDate><guid isPermaLink="false">Reviewed: stsadm.webconfig 1.0.0.0 (Jul 06, 2009) 20090706092548A</guid></item><item><title>Updated Release: stsadm.webconfig 1.0.0.0 (Jun 09, 2009)</title><link>http://stsadmwebconfig.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28534</link><description>&lt;div&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br&gt;&lt;br&gt;To install:
&lt;ol&gt;&lt;li&gt;download stsadm.webconfig.zip file.&lt;/li&gt;
&lt;li&gt;extract on sharepoint server&lt;/li&gt;
&lt;li&gt;run deploy.stsadmwebconfig.cmd&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;</description><author>richfinn</author><pubDate>Thu, 25 Jun 2009 17:34:13 GMT</pubDate><guid isPermaLink="false">Updated Release: stsadm.webconfig 1.0.0.0 (Jun 09, 2009) 20090625053413P</guid></item><item><title>Released: stsadm.webconfig 1.0.0.0 (Jun 09, 2009)</title><link>http://stsadmwebconfig.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28534</link><description>&lt;div&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br&gt;&lt;br&gt;To install:
&lt;ol&gt;&lt;li&gt;download stsadm.webconfig.zip file.&lt;/li&gt;
&lt;li&gt;extract on sharepoint server&lt;/li&gt;
&lt;li&gt;run deploy.stsadmwebconfig.cmd&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;</description><author></author><pubDate>Thu, 25 Jun 2009 17:34:13 GMT</pubDate><guid isPermaLink="false">Released: stsadm.webconfig 1.0.0.0 (Jun 09, 2009) 20090625053413P</guid></item><item><title>Updated Release: stsadm.webconfig 1.0.0.0 (Jun 09, 2009)</title><link>http://stsadmwebconfig.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28534</link><description>&lt;div&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br&gt;&lt;br&gt;To install:
&lt;ol&gt;&lt;li&gt;download stsadm.webconfig.zip file.&lt;/li&gt;
&lt;li&gt;extract on sharepoint server&lt;/li&gt;
&lt;li&gt;run deploy.stsadmwebconfig.cmd&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;</description><author>richfinn</author><pubDate>Thu, 25 Jun 2009 13:55:13 GMT</pubDate><guid isPermaLink="false">Updated Release: stsadm.webconfig 1.0.0.0 (Jun 09, 2009) 20090625015513P</guid></item><item><title>New Post: Unhandled exception while executing the command</title><link>http://stsadmwebconfig.codeplex.com/Thread/View.aspx?ThreadId=60629</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;it was &lt;span style="color:blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#a31515"&gt;Name&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;&lt;/span&gt;add[@key='eventName']&lt;span style="color:blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#a31515"&gt;Name&lt;/span&gt;&lt;span style="color:blue"&gt;&amp;gt;.&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><author>subhashkotu</author><pubDate>Thu, 25 Jun 2009 11:44:50 GMT</pubDate><guid isPermaLink="false">New Post: Unhandled exception while executing the command 20090625114450A</guid></item><item><title>New Post: Unhandled exception while executing the command</title><link>http://stsadmwebconfig.codeplex.com/Thread/View.aspx?ThreadId=60629</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am getting an unhandled exception (&lt;span style="color:#ff0000"&gt;An unhandled exception ('Launch for user') occurred in STSADM.EXE [4384]&lt;/span&gt;). Here is my sample xml code which I have used to test the utility.&lt;/p&gt;
&lt;div style="color:Black;background-color:White"&gt;
&lt;pre&gt;&lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;ConfigEntries&lt;/span&gt; &lt;span style="color:Red"&gt;owner&lt;/span&gt;&lt;span style="color:Blue"&gt;=&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;Deloitte.Portal.Integration.ApplicationIntegration.FeatureReceiver&lt;/span&gt;&lt;span style="color:Black"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;ConfigEntry&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;Name&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;add[@key='&lt;span style="color:#808080"&gt;eventName&lt;/span&gt;']&lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;Name&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;Path&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;configuration/appSettings&lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;Path&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
    &lt;span style="color:Blue"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#A31515"&gt;Value&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;lt;![CDATA[&lt;/span&gt;&lt;span style="color:Gray"&gt;&amp;lt;add key='eventName' value='Testing Web.config XML feature' /&amp;gt;&lt;/span&gt;&lt;span style="color:Blue"&gt;]]&amp;gt;&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;Value&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
  &lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;ConfigEntry&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;
&lt;span style="color:Blue"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#A31515"&gt;ConfigEntries&lt;/span&gt;&lt;span style="color:Blue"&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;The command I am executing is &amp;quot;stsadm -o webconfig_apply -url &lt;a href="http://weburl"&gt;http://weburl&lt;/a&gt; -configfile sample.dev.xml&amp;quot; and the exception dialog occurs for both the options webconfig_apply and webconfig_remove.&lt;/p&gt;
&lt;p&gt;If I cancel the exception dialog, the stscommand executes properly and gets the message &amp;quot;http://weburl web.config file configured successfully&amp;quot;. Could you please help me in avoiding this unhandled exception.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;~ Gangadhar Kotu&lt;/p&gt;&lt;/div&gt;</description><author>subhashkotu</author><pubDate>Thu, 25 Jun 2009 11:42:56 GMT</pubDate><guid isPermaLink="false">New Post: Unhandled exception while executing the command 20090625114256A</guid></item><item><title>Commented Issue: stsadm copyappbincontent not working</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2080</link><description>after deploying this utility, the above is not working, i think the xml file names should not follow webconfig.XXX.xml format as these files are being used by the above command&lt;br /&gt;Comments: ** Comment from web user: richfinn ** &lt;p&gt;file has been renamed, wiki has been updated, release has been updated, and code has been checked in.  Again, thank you.&lt;/p&gt;</description><author>richfinn</author><pubDate>Wed, 24 Jun 2009 22:50:05 GMT</pubDate><guid isPermaLink="false">Commented Issue: stsadm copyappbincontent not working 20090624105005P</guid></item><item><title>Updated Wiki: Home</title><link>http://stsadmwebconfig.codeplex.com/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;&lt;b&gt;Project Description&lt;/b&gt;&lt;br /&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br /&gt;&lt;br /&gt;While SharePoint provides developers with an API to manage web.config modifications, those entries are commonly managed via custom, hard-coded Features or stsadm commands, which means packaging and deploying code to run and test changes. And, to top it off, SPWebConfigModification is not the easiest object to use, and takes a little bit of work to get right.  That's why stsadm.webconfig was created.&lt;br /&gt;&lt;br /&gt;While this custom stsadm command does not make creating the xpath needed to define the modification any easier, it does make managing your config entries extremely easier.  Developers can now define web.config entries in an XML file deployed to the [12]/Config directory, run this stsadm command, and have those entries applied to the web.config file.&lt;br /&gt;&lt;br /&gt;For example, there is a sample config file deployed with this command which will configure a web application for version 3.5 of ajax.asp.net [12]/Config/config.sample.ajax35.xml.&lt;br /&gt;&lt;br /&gt;*To apply the config changes, run stsadm -o webconfig_apply -url http://webappurl -configfile config.sample.ajax35.xml&lt;br /&gt;To remove: stsadm -o webconfig_remove -url http://webappurl -configfile config.sample.ajax35.xml*&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Another thing which can now be accomplished&lt;/b&gt; is that farm-specifc config values can be defined in a single solution by creating different xml config files like customapp.dev.xml, customapp.test.xml, customapp.prod.xml.  If using WSPBuilder, for example, a developer can just add those files to the wsp project in the /12/Config directory, and when the WSP is created and moved through the environments, the config settings will move with the solution.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;One thing to point out:&lt;/b&gt; it's best to have a special sharepoint web application in development to test your web config changes.  It is easy to mess up your web config file, and you don't want to ruin your environment.  Start with a single simple config modification, test it, retract it, and then add the next one.  Don't start developing your config changes and then test all of them at once.&lt;br /&gt;&lt;br /&gt;The config file follows a simple pattern:&lt;br /&gt;&amp;lt;ConfigEntries owner=&amp;quot;[Title of config changes. example: ProdConfigChanges]&amp;quot;&amp;gt;&lt;br /&gt;  &amp;lt;!--&lt;br /&gt;    &amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;      &amp;lt;Name&amp;gt;&amp;lt;/Name&amp;gt;&lt;br /&gt;      &amp;lt;Path&amp;gt;&amp;lt;/Path&amp;gt;&lt;br /&gt;      &amp;lt;Value&amp;gt;&amp;lt;![CDATA[***entry goes here***]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;      &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;    &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;    --&amp;gt;&lt;br /&gt;&amp;lt;/ConfigEntries&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;example config file (from config.sample.ajax35.xml)&lt;/b&gt;&lt;br /&gt;&amp;lt;ConfigEntries owner=&amp;quot;AjaxifyMoss35&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;    &amp;lt;Name&amp;gt;add[@verb='GET,HEAD'][@path='ScriptResource.axd'][@validate='false'][@type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35']&amp;lt;/Name&amp;gt;&lt;br /&gt;    &amp;lt;Path&amp;gt;configuration/system.web/httpHandlers&amp;lt;/Path&amp;gt;&lt;br /&gt;    &amp;lt;Value&amp;gt;&amp;lt;![CDATA[&amp;lt;add verb='GET,HEAD' path='ScriptResource.axd' validate='false' type='System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/&amp;gt;]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;    &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;  &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;  &amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;    &amp;lt;Name&amp;gt;add[@name='ScriptModule'][@type='System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35']&amp;lt;/Name&amp;gt;&lt;br /&gt;    &amp;lt;Path&amp;gt;configuration/system.web/httpModules&amp;lt;/Path&amp;gt;&lt;br /&gt;    &amp;lt;Value&amp;gt;&amp;lt;![CDATA[&amp;lt;add name='ScriptModule' type='System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'/&amp;gt;]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;    &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;  &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;  &amp;lt;ConfigEntry&amp;gt;&lt;br /&gt;    &amp;lt;Name&amp;gt;SafeControl[@Assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35'][@Namespace='System.Web.UI'][@TypeName='*'][@Safe='True']&amp;lt;/Name&amp;gt;&lt;br /&gt;    &amp;lt;Path&amp;gt;configuration/SharePoint/SafeControls&amp;lt;/Path&amp;gt;&lt;br /&gt;    &amp;lt;Value&amp;gt;&amp;lt;![CDATA[&amp;lt;SafeControl Assembly='System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' Namespace='System.Web.UI' TypeName='*' Safe='True' /&amp;gt;]]&amp;gt;&amp;lt;/Value&amp;gt;&lt;br /&gt;    &amp;lt;ModType&amp;gt;EnsureChildNode&amp;lt;/ModType&amp;gt;&lt;br /&gt;  &amp;lt;/ConfigEntry&amp;gt;&lt;br /&gt;&amp;lt;/ConfigEntries&amp;gt;&lt;/div&gt;</description><author>richfinn</author><pubDate>Wed, 24 Jun 2009 22:49:17 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20090624104917P</guid></item><item><title>Updated Release: stsadm.webconfig 1.0.0.0 (Jun 09, 2009)</title><link>http://stsadmwebconfig.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28534</link><description>&lt;div&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br&gt;&lt;br&gt;To install:
&lt;ol&gt;&lt;li&gt;download stsadm.webconfig.zip file.&lt;/li&gt;
&lt;li&gt;extract on sharepoint server&lt;/li&gt;
&lt;li&gt;run deploy.stsadmwebconfig.cmd&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;</description><author>richfinn</author><pubDate>Wed, 24 Jun 2009 22:48:00 GMT</pubDate><guid isPermaLink="false">Updated Release: stsadm.webconfig 1.0.0.0 (Jun 09, 2009) 20090624104800P</guid></item><item><title>Released: stsadm.webconfig 1.0.0.0 (Jun 09, 2009)</title><link>http://stsadmwebconfig.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=28534</link><description>&lt;div&gt;Make SharePoint web config modifications using a config file, rather than having to hard-code static strings in a class file.&lt;br&gt;&lt;br&gt;To install:
&lt;ol&gt;&lt;li&gt;download stsadm.webconfig.zip file.&lt;/li&gt;
&lt;li&gt;extract on sharepoint server&lt;/li&gt;
&lt;li&gt;run deploy.stsadmwebconfig.cmd&lt;/li&gt;&lt;/ol&gt;
&lt;/div&gt;</description><author></author><pubDate>Wed, 24 Jun 2009 22:48:00 GMT</pubDate><guid isPermaLink="false">Released: stsadm.webconfig 1.0.0.0 (Jun 09, 2009) 20090624104800P</guid></item><item><title>Source code checked in, #22232</title><link>http://stsadmwebconfig.codeplex.com/SourceControl/ListDownloadableCommits.aspx</link><description></description><author>richfinn</author><pubDate>Wed, 24 Jun 2009 16:26:44 GMT</pubDate><guid isPermaLink="false">Source code checked in, #22232 20090624042644P</guid></item><item><title>Commented Issue: stsadm copyappbincontent not working</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2080</link><description>after deploying this utility, the above is not working, i think the xml file names should not follow webconfig.XXX.xml format as these files are being used by the above command&lt;br /&gt;Comments: ** Comment from web user: richfinn ** &lt;p&gt;can name the files anything you&amp;#39;d like.  I&amp;#39;ll fix the ajax one.  Thanks for the heads up.&lt;/p&gt;</description><author>richfinn</author><pubDate>Wed, 24 Jun 2009 15:59:29 GMT</pubDate><guid isPermaLink="false">Commented Issue: stsadm copyappbincontent not working 20090624035929P</guid></item><item><title>Created Issue: stsadm copyappbincontent not working</title><link>http://stsadmwebconfig.codeplex.com/WorkItem/View.aspx?WorkItemId=2080</link><description>after deploying this utility, the above is not working, i think the xml file names should not follow webconfig.XXX.xml format as these files are being used by the above command&lt;br /&gt;</description><author>englian</author><pubDate>Tue, 23 Jun 2009 07:08:04 GMT</pubDate><guid isPermaLink="false">Created Issue: stsadm copyappbincontent not working 20090623070804A</guid></item></channel></rss>
