<?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 'syntax'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=syntax&amp;orTags=0</link><description>Search results matching tag 'syntax'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Pattern Syntax</title><link>http://forums.iis.net/p/1161869/1921163.aspx#1921163</link><pubDate>Mon, 19 Oct 2009 09:41:12 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1921163</guid><dc:creator>skarabee</dc:creator><cs:applicationKey>iis7_-_url_rewrite_module-41</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Where can i find a practical (brief) explanation of the syntax that can be used in regular expressions ? (the official ema guide is about 180 pages long...) ?&lt;/p&gt;
&lt;p&gt;And some examples (as the syntax is not always quite clear to me)&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;</description></item><item><title>setParam and DestinationVirtualDirectory</title><link>http://forums.iis.net/p/1160035/1913476.aspx#1913476</link><pubDate>Thu, 13 Aug 2009 16:42:25 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1913476</guid><dc:creator>marangiv</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I have a folder on a file system that contains all the necessary files for my application.&lt;/p&gt;&lt;p&gt;I would like to create a zip package from this folder, so that I can easily deploy my application on different servers. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Given that I need to specify a physical target path for the iis web application, how they should be made &lt;b&gt;manifest.xml&lt;/b&gt; and &lt;b&gt;parameters.xml&lt;/b&gt; files to allow the tool to accept the setting -setParam:type=&lt;b&gt;DestinationVirtualDirectory&lt;/b&gt;? &lt;/p&gt;&lt;p&gt;And what exactly should be the command? What should I put in parameterscope?&lt;/p&gt;&lt;p&gt;&amp;nbsp;Thank you very much&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Testing MSDeploy with -whatif</title><link>http://forums.iis.net/p/1154306/1889863.aspx#1889863</link><pubDate>Tue, 13 Jan 2009 19:31:58 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1889863</guid><dc:creator>reedcd3231</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I am having a little trouble getting through the verification of the migration behavior part of the instruction for MSDeploy.&amp;nbsp; I have a fairly simple environment; one IIS 6 box that I want to migrate to a new IIS 7 box.&amp;nbsp; I got to the point where you test the migration behavior before actually performing the migration; I used the follwing command:&lt;/p&gt;
&lt;p&gt;msdeploy –verb:migrate –source:webserver60,targetName=http://SourceComputername/msdeploy –dest:webserver60 –whatif &amp;gt; msdeploy_test.log&lt;/p&gt;
&lt;p&gt;I get the following error that I cant explain and was hoping someone could help me shed some light on:&lt;/p&gt;
&lt;p&gt;Fatal:&amp;nbsp; Unrecognized object parameter &amp;#39;targetName&amp;#39;&lt;br /&gt;Fatal count: 1&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: Fatal: Object reference not set to an instance of an object</title><link>http://forums.iis.net/p/1152263/1881623.aspx#1881623</link><pubDate>Thu, 09 Oct 2008 06:18:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881623</guid><dc:creator>Sader</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;yaminij,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. the problem in the other form did not pass the &lt;strong&gt;&amp;#39;AnonymousUserPass&amp;#39;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;My problem is that the migration to arrchive directory stucks on: &lt;strong&gt;DirBrowseFlags&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;first line: &lt;strong&gt;Action: Adding archiveDir (archiveDir)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;........&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Action: Adding child metaProperty (root/AccessFlags)&lt;br /&gt;Action: Adding child metaProperty (root/AppIsolated)&lt;br /&gt;Action: Adding child metaProperty (root/AuthFlags)&lt;br /&gt;Action: Adding child metaProperty (root/DirBrowseFlags)&lt;br /&gt;Fatal: Object reference not set to an instance of an object.&amp;nbsp; &lt;br /&gt;Change count: 77629&lt;br /&gt;Fatal count: 1&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A strange thing is that not al my sites give this error during migration.&lt;/p&gt;</description></item><item><title>Fatal: Object reference not set to an instance of an object</title><link>http://forums.iis.net/p/1152263/1881543.aspx#1881543</link><pubDate>Wed, 08 Oct 2008 09:49:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1881543</guid><dc:creator>Sader</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;When I run the following command: &lt;/p&gt;
&lt;p&gt;msdeploy -verb:migrate -source:metakey=lm/w3svc/145273373 -dest:archivedir=d:\w3svc\12 -failureLevel:Never&lt;/p&gt;
&lt;p&gt;I get&amp;nbsp;the error &lt;strong&gt;Fatal: Object reference not set to an instance of an object.&lt;/strong&gt; What does it mean.....&lt;/p&gt;
&lt;p&gt;Also running the command include:&lt;strong&gt;&amp;nbsp;-whatif -verboseLevel:Informational&amp;nbsp; &amp;gt;msdeploy.log&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I cannot find the explanation of the error. Someone Knows a solution?&lt;/p&gt;</description></item><item><title>regkey problem with forward-whack</title><link>http://forums.iis.net/p/1151432/1877981.aspx#1877981</link><pubDate>Fri, 29 Aug 2008 15:10:19 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1877981</guid><dc:creator>mhegyi</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I&amp;#39;m trying to use the regkey provider to sync the Cryptographic Algorithms and Protocols (Cipher Suites) for a hardened web server.&amp;nbsp; I&amp;#39;m following http://support.microsoft.com/kb/245030&lt;/p&gt;&lt;p&gt;It sync/dumps the following key fine:&lt;/p&gt;&lt;p&gt;&amp;quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\NULL&amp;quot; &lt;/p&gt;&lt;p&gt;It fails to sync/dump the following, or any other node with a forward-whack in it.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56/128&amp;quot;.&lt;/p&gt;&lt;p&gt;It claims that&amp;nbsp; &amp;quot;HKLM\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC4 56\128&amp;quot; is invalid.&lt;/p&gt;&lt;p&gt;Please note, it switches the forward-whack to a back-whack. &lt;/p&gt;&lt;p&gt;Is there a way to specify the forward-whack to remain as a forward-whack and not be switched? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>sync to multiple destination servers?</title><link>http://forums.iis.net/p/1150965/1876207.aspx#1876207</link><pubDate>Thu, 07 Aug 2008 19:03:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1876207</guid><dc:creator>tmayo</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Using msdeploy.exe is it possible to have a source of 1 server and sync to a destination of multiple servers (i.e. QA to PROD)?&amp;nbsp; any sample syntax / suggestions?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Tim&lt;/p&gt;</description></item><item><title>Sync between two IIS7 servers</title><link>http://forums.iis.net/p/1150883/1875822.aspx#1875822</link><pubDate>Mon, 04 Aug 2008 18:10:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1875822</guid><dc:creator>TrondRoar</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I am trying to fig out how to sync 2 servers. Both running IIS7. I started with msdeploy -verb:getDependencies -source:webServer and made sure both has the same services. I then test with msdeploy -verb:sync -source:webServer,computerName=Server1 -dest:webServer -whatif &amp;gt;msDeploySync.log. The log shows me that i get an (401) Unauthorized.&lt;/p&gt;
&lt;p&gt;So im trying to fig out how to write the command so that it passes on username and password, but no success. &lt;/p&gt;
&lt;p&gt;What i am trying to do is to sync all websites from server1 to server2. And also all content (folders) from d:\www on server1 to D:\www on server2.&lt;/p&gt;
&lt;p&gt;If anyone has a tip that can set me of i would appreciate it a lot. Like a command :-)&lt;/p&gt;</description></item><item><title>Changing IP address of bindings during migration</title><link>http://forums.iis.net/p/1147991/1863670.aspx#1863670</link><pubDate>Thu, 14 Feb 2008 14:59:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1863670</guid><dc:creator>alexthissen</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Another issue we run into during migration is that the new IIS7 servers use a different cluster IP address in their server binding. So, during migration we would like to replace the old IP address 192.168.0.100 to the new one, say 192.168.0.110. I am pretty sure that a replace rule is what we need, but am not sure on the exact syntax of the -replace option. The documentation that I found was in Chapter 3 of the MS Deploy Walkthroughs&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Is the match pattern specified as a regular expression?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Can you perform a global replace if multiple matches are made?&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;How to specify the ServerBindings attribute for the IIS6 configuration of a particular Web Site in the metabase?&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Again, any help would be appreciated. Thanks in advance.&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;</description></item></channel></rss>