<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Search results matching tag 'DeploymentRuleHandler replace'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=DeploymentRuleHandler+replace&amp;orTags=0</link><description>Search results matching tag 'DeploymentRuleHandler replace'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Auto deploy ASP files</title><link>http://forums.iis.net/p/1159220/1910193.aspx#1910193</link><pubDate>Tue, 14 Jul 2009 02:20:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910193</guid><dc:creator>raskado</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I want to auto deploy ASP files to live server and back up previous files before replacing them, Can anyone please tell how can I do that using Web Deployment Tools? and Is there any guidline or video to illustrate the steps?&lt;/p&gt;
&lt;p&gt;I appreciate&amp;nbsp;anyone&amp;nbsp;helps, Thanks&lt;/p&gt;
&lt;p&gt;Kiarash&lt;/p&gt;</description></item><item><title>Re: Fatal: Object reference not set to an instance of an object</title><link>http://forums.iis.net/p/1152263/1881738.aspx#1881738</link><pubDate>Fri, 10 Oct 2008 14:50:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881738</guid><dc:creator>Sader</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I fixed this error by disable the &amp;#39;script source acces&amp;#39; on the home directory tab.&lt;/p&gt;
&lt;p&gt;But the following error appears at the next stap:&lt;/p&gt;
&lt;p&gt;Action: Adding child metaProperty (/lm/w3svc/1017621628/root/AccessFlags)&lt;br /&gt;Fatal: Object reference not set to an instance of an object.&lt;br /&gt;Debug: System.NullReferenceException: Object reference not set to an instance of&lt;br /&gt;&amp;nbsp;an object.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.MigrateAnonymousUserRuleHandler.Update(Deployment&lt;br /&gt;SyncContext syncContext, DeploymentObject destObject, DeploymentObject&amp;amp; sourceOb&lt;br /&gt;ject, Boolean&amp;amp; proceed)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.MigrateAnonymousUserRuleHandler.AddChild(Deployme&lt;br /&gt;ntSyncContext syncContext, DeploymentObject destParentObject, DeploymentObject&amp;amp;&lt;br /&gt;sourceObject, Boolean&amp;amp; proceed)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentOb&lt;br /&gt;ject destParent, DeploymentObject sourceObject, Int32 position)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(Deploym&lt;br /&gt;entObject dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObje&lt;br /&gt;ct dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAddChild(DeploymentOb&lt;br /&gt;ject destParent, DeploymentObject sourceObject, Int32 position)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(Deploym&lt;br /&gt;entObject dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObje&lt;br /&gt;ct dest, DeploymentObject source)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObjec&lt;br /&gt;t destinationObject, DeploymentObject sourceObject)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.Sync(DeploymentObject sourceObje&lt;br /&gt;ct, DeploymentSyncConfig syncConfig)&lt;br /&gt;Change count: 22&lt;br /&gt;Fatal count: 1&lt;/p&gt;</description></item><item><title>Re: Feature request: advanced replace</title><link>http://forums.iis.net/p/1147990/1865861.aspx#1865861</link><pubDate>Fri, 21 Mar 2008 10:36:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1865861</guid><dc:creator>alexthissen</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hi JeongHwan,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I hadn&amp;#39;t checked the remark from the IT department that Punycode was no longer supported. My bad, because it is. So, no issues there.&lt;/p&gt;
&lt;p&gt;The need to be able to do an advanced replace remains. I had given Reflector a spin after I posted my initial mail and found that by creating a DeploymentRuleHandler and overriding the Update method you get a hook into the deployment process (if I recall correctly). This is enough to write whatever update logic that one might want.&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;</description></item></channel></rss>