<?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>Web Deployment Tool (MS Deploy)</title><link>http://forums.iis.net/1144.aspx</link><description>Questions about using the Microsoft Web Deployment Tool to sync or migrate sites and servers.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1910392.aspx</link><pubDate>Wed, 15 Jul 2009 15:02:11 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910392</guid><dc:creator>sasikantt_24</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910392.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1910392</wfw:commentRss><description>&lt;font face="Times New Roman" size="3"&gt;Yes we can do this. But previously I was writing manifest file which was containing 2 metakey elements. One for application pool and one for web site. Application pool was setting properly for web site with that approach after migration. Also I was writing single ms deploy command to achieve this.But now&amp;nbsp;I have to migrate application pool first and then&amp;nbsp;I have to create web site using AppCmd and then I need to&amp;nbsp;synchronize web site using ms deploy&amp;nbsp;command that you have mentioned above. &lt;br /&gt;With this approach&amp;nbsp;I don’t have application pool set for the web site after synchronization. It’s “DefaultAppPool” and not the application pool that I have migrated.How can I set application pool that I have migrated for the Web site? Should I write AppCmd again to set application pool for the Web site? 
&lt;p&gt;Thanks,&lt;br /&gt;Shashikant&lt;/p&gt;&lt;/font&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1910267.aspx</link><pubDate>Tue, 14 Jul 2009 16:10:05 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910267</guid><dc:creator>moshaikh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910267.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1910267</wfw:commentRss><description>&lt;p&gt;You can achieve this by migrating each application to an existing site. For e.g if you have &amp;quot;App1&amp;quot;, &amp;quot;App2&amp;quot; and &amp;quot;App3&amp;quot; under default web site in IIS 6.&lt;/p&gt;
&lt;p&gt;You would manually create 3 websites App1, App2, App3 on IIS 7 using appcmd. For e.g.:&lt;/p&gt;
&lt;p&gt;C:\Windows\System32\inetsrv&amp;gt;appcmd add site /name:&amp;quot;App1&amp;quot; /id:2 /bindings:http/*&lt;br /&gt;:84 /physicalPath:&amp;quot;C:\inetpub\App1&amp;quot;&lt;/p&gt;
&lt;p&gt;Once you have these sites in IIS7 you can sync from iis6 as follows&lt;/p&gt;
&lt;p&gt;msdeploy -verb:sync -source:iisApp=&amp;quot;Default Web Site/App1&amp;quot; -dest:iisApp=&amp;quot;App1&amp;quot;,computername=thenewserver&lt;/p&gt;
&lt;p&gt;Let me know if you need more info.&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1910209.aspx</link><pubDate>Tue, 14 Jul 2009 06:26:04 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910209</guid><dc:creator>sasikantt_24</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910209.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1910209</wfw:commentRss><description>&lt;p&gt;I want separate web site on IIS 7.0 &amp;nbsp;for each application under &amp;quot;Default Web Site&amp;quot; on IIS 6.0.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Shashikant &lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1910203.aspx</link><pubDate>Tue, 14 Jul 2009 05:21:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910203</guid><dc:creator>moshaikh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910203.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1910203</wfw:commentRss><description>&lt;p&gt;Can you clarify&amp;nbsp; whether you want to move the applications you have under &amp;quot;Default Web Site&amp;quot; on IIs6&amp;nbsp; under &amp;quot;DifferentSite&amp;quot; on IIS 7 &lt;/p&gt;
&lt;p&gt;or you want to create one site in IIS 7.0&amp;nbsp;for each app that you have&amp;nbsp;in IIS6.&lt;/p&gt;
&lt;p&gt;Based on your needs I can help you further.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1910133.aspx</link><pubDate>Mon, 13 Jul 2009 16:03:47 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910133</guid><dc:creator>sasikantt_24</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1910133.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1910133</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Thanks moshaikh. I can now change path as well as application name while migrating from IIS 6.0 to IIS 7.0.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Actually my concern is, I have all applications under Default Web Site in IIS 6.0. But after migration I don’t want these applications under Default Web Site.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;I want separate Web site for each application.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;I tried with following command:&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;msdeploy –verb:migrate –source:metakey=lm/w3svc/1/root/MyApplication –dest:metakey=lm/w3svc/2/MyApplication,computername=iis7.0server_name &lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;It’s giving me an error.&lt;/font&gt;&lt;/p&gt;&lt;span style="COLOR:red;"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Error:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Metabase keys /lm/w3svc/1/root/MyApplication and /lm/w3svc/2/MyApplicationn are not compatible for syncing&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;Can you please let me know, how can we move application outside Default Web Site while migration using MS Deploy?&lt;/font&gt;&lt;/font&gt; 
&lt;p&gt;Thanks &lt;br /&gt;Shashikant &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1904364.aspx</link><pubDate>Wed, 20 May 2009 17:22:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904364</guid><dc:creator>moshaikh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1904364.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1904364</wfw:commentRss><description>&lt;p&gt;For changing application name you dont need setParam. Just specify the new app name during migrate in the command as follows:&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;msdeploy -verb:migrate -source:metaKey=lm\w3svc\1\root\MyApplication -dest:metakey=lm\w3svc\1\root\MyNewApplication,computername=ServerName&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3" face="Times New Roman"&gt;Let us know if you need more information.&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1904362.aspx</link><pubDate>Wed, 20 May 2009 17:12:59 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904362</guid><dc:creator>sasikantt_24</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1904362.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1904362</wfw:commentRss><description>&lt;p&gt;:) I am able to change my VirtualDirectory name using &lt;font face="Times New Roman" size="3"&gt;DestinationVirtualDirectory provide&lt;/font&gt;&amp;nbsp;after migrating the application from IIS 6.0 to IIS 7.0. I change scoupe in my earlier command.&lt;/p&gt;
&lt;p&gt;Thanks a lot &lt;a href="http://forums.iis.net/members/moshaikh.aspx"&gt;&lt;font face="Verdana" color="#034af3"&gt;moshaikh&lt;/font&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;:p Now I want to &lt;strong&gt;change my application name on IIS 7.0&lt;/strong&gt;&amp;nbsp;after migrating application, I&amp;nbsp;am using ProviderPath provider to a&lt;font face="Times New Roman" size="3"&gt;ccomplish this. but no luck...&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;Can any one help me with this?&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1904343.aspx</link><pubDate>Wed, 20 May 2009 14:14:03 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904343</guid><dc:creator>sasikantt_24</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1904343.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1904343</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;used following ms deploy commands to change my application name and physical path for migrated application on server where IIS 7.0 is installed, but nothing is updated. &lt;/p&gt;
&lt;p&gt;Please find the command and output of the command and kindly&amp;nbsp;correct me, where I am going wrong.&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;msdeploy -verb:migrate -source:metaKey=lm\w3svc\1\root\MyApplication -dest:auto,computerName=Servername -setParam:type=DestinationVirtualDirectory,value=D:\DeptName-MyApplication,scope=&amp;quot;Defaul&lt;br /&gt;t Web Site/MyApplication&amp;quot; -setParam:type=ProviderPath,value= DeptName-MyApplication,&lt;br /&gt;scope=&amp;quot;Default Web Site/MyApplication&amp;quot; -enableLink:AppPoolExtension&lt;br /&gt;Action: Updating metaProperty (/lm/w3svc/1/root/MyApplication/UNCPassword)&lt;br /&gt;Action: Updating metaProperty (/lm/w3svc/1/root/MyApplication/UNCPassword)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\AppMessages.xml)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\MyApplication.asmx)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\MyApplication.wsdl)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\bin\Some.dll)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\bin\MyApplication.dll)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\bin\MyApplication.pdb)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\Global.asax)&lt;br /&gt;Action: Updating filePath (D:\DeptName\MyApplication\web.config)&lt;br /&gt;Action: Updating metaProperty (/lm/w3svc/1/root/MyApplication/UNCPassword)&lt;br /&gt;Change count: 11&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Nothing is updated on server where IIS 7.0 is installed when I migrate Myapplication from server where IIS 6.0 is installed.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1903588.aspx</link><pubDate>Wed, 13 May 2009 14:24:13 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903588</guid><dc:creator>moshaikh</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903588.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1903588</wfw:commentRss><description>&lt;p&gt;yes this can be done. The actual syntax will be based on whether you are migrating from IIS 6 to 7 or its a sync between iis 6 boxes or between iis 7 boxes. The following command syncs MyApp on source to MyNewApp on the destination and changes the physical path from whatever it may be to &amp;quot;C:\NewDir&amp;quot;&lt;/p&gt;
&lt;p&gt;msdeploy -verb:sync -source:iisapp=&amp;quot;Default web site/MyApp&amp;quot; -dest:iisapp=&amp;quot;Default web site/MyNewApp&amp;quot;,computername=servername -setParam:type=DestinationVirtualDirectory,scope=&amp;quot;Default Web Site/MyApp&amp;quot;,value=C:\NewDir&lt;/p&gt;
&lt;p&gt;You can read more about iisApp &lt;a href="http://technet.microsoft.com/en-us/library/dd569054(WS.10).aspx"&gt;here&lt;/a&gt; and setParam &lt;a href="http://technet.microsoft.com/en-us/library/dd569084(WS.10).aspx"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you need more info.&lt;/p&gt;</description></item><item><title>Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/thread/1903553.aspx</link><pubDate>Wed, 13 May 2009 09:54:49 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1903553</guid><dc:creator>sasikantt_24</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1903553.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1903553</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is it possible to have different application name and physical path for the application that we will migrate using MS Deploy?&lt;/p&gt;
&lt;p&gt;If yes can some one tell me the Providers for the same.&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>