<?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 'msdeploy getDependencies'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=msdeploy+getDependencies&amp;orTags=0</link><description>Search results matching tag 'msdeploy getDependencies'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>synchronize files with certain extension only</title><link>http://forums.iis.net/p/1159411/1910961.aspx#1910961</link><pubDate>Tue, 21 Jul 2009 10:03:32 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910961</guid><dc:creator>raskado</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have a folder&amp;nbsp;named&amp;nbsp;MySite, containing number of folders and&amp;nbsp; larg number of .htm and .asp files, and same folder in remore server, I want to synchrize &lt;strong&gt;only &lt;/strong&gt;.asp files with correspondent files on remote server, How can it be done? in short, is it possible to exclude folders or certain extensions from synchronization?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;kiarash&lt;/p&gt;</description></item><item><title>pushing to remote destination:Error:  Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))</title><link>http://forums.iis.net/p/1159385/1910820.aspx#1910820</link><pubDate>Mon, 20 Jul 2009 09:07:31 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910820</guid><dc:creator>raskado</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;I am using 2 networked PC on the same domain equipped by IIS 5.1 and web development tools and remote service is running on both computers.&lt;/p&gt;
&lt;p&gt;Its couple of days I am trying to get some of the synchnorization command into work but I have failed such as folloin two commands:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;msdeploy -verb:sync -source:metakey=lm/w3svc/1 -dest:metakey=lm/w3svc/1,computername=\\pnt-mahdi,username=momazia,password=Di5gui$eD&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Action: Adding MSDeploy.metaKey (MSDeploy.metaKey)&lt;br /&gt;Action: Adding metaKey (/lm/w3svc/1)&lt;br /&gt;Error:&amp;nbsp; Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))&lt;br /&gt;Error count: 1&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;strong&gt;msdeploy.exe -verb:sync -source:conten&lt;br /&gt;tPath=C:\kia,includeAcls=true -dest:contentPath=D:\arash,computerName=\\pnt-mahd&lt;br /&gt;i,username=momazia,password=Di5gui$eD&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;Action: Adding MSDeploy.contentPath (MSDeploy.contentPath)&lt;br /&gt;Action: Adding contentPath (D:\arash)&lt;br /&gt;Action: Adding dirPath (D:\arash)&lt;br /&gt;Error:&amp;nbsp; Logon failure: unknown user name or bad password.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Error count: 1&lt;/em&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;(I run the command as Administrator,username &amp;amp; password are Windows login user ans pass, Anonymous accsess is enabled on IIS)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried many syntax and configration but I can not think of any solution anymore. Please assist me with this. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Kiarash&lt;/p&gt;</description></item><item><title>Re: Different Physical Path and Name for migrated application</title><link>http://forums.iis.net/p/1157598/1910392.aspx#1910392</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><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><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>MSDeploy</title><link>http://forums.iis.net/p/1159254/1910341.aspx#1910341</link><pubDate>Wed, 15 Jul 2009 06:37:14 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1910341</guid><dc:creator>raskado</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using 2 PCs(on LAN) with OS:windows XP&amp;nbsp; equipped by IIS 5.1 and I installed Web Deployment tools, I want&amp;nbsp; to deploy ASP files from one to the other, but I dont know how to do?&lt;/p&gt;
&lt;p&gt;Can you please help me to do that or any hint?&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;</description></item><item><title>MS Deploy </title><link>http://forums.iis.net/p/1153237/1885532.aspx#1885532</link><pubDate>Thu, 20 Nov 2008 22:58:48 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1885532</guid><dc:creator>paymasterr</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp;How do i migrate IIS6 (Win2k3 server) to IIS7 (Win2k8 server enterprise)&amp;nbsp; using the MS Deployment toolkit?&lt;/p&gt;&lt;p&gt;I know about all those tutorials. For instance i followed this one http://technet.microsoft.com/en-us/mscomops/cc424869.aspx and i ended up with unknow factory fatal error when i tried to execute migrate command.&lt;/p&gt;&lt;p&gt;I guess it is my broken English so i do not understand well those &amp;quot;on&amp;quot; target server &amp;quot;on&amp;quot; your server etc. pretty confusing for someone with English as second language.&lt;/p&gt;&lt;p&gt;So, i was wondering if i can explain my situation and ask for some help. Thank in advance for understanding.&lt;/p&gt;&lt;p&gt;1. i have about 1500 websites to the current WEB server (Win2k3). ServerOne&lt;br /&gt;&lt;/p&gt;&lt;p&gt;2. i bought a new dedicated servers (both web and db Win2k8 driven).ServerTwo&lt;/p&gt;&lt;p&gt;3. I need to move all the 1500 websites including the SSL certificate and all the other settings to the ServerTwo.&lt;/p&gt;&lt;p&gt;4. I found that actually my only option is MSDEPLOY toolkit. Is this correct?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I hope this is enough .. otherwise please ask me for additonal info if needed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks in advance &lt;br /&gt;&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>Exception using MSDeploy getDependencies on a websiteID</title><link>http://forums.iis.net/p/1149837/1871591.aspx#1871591</link><pubDate>Thu, 12 Jun 2008 10:49:07 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1871591</guid><dc:creator>boss_west</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;&amp;nbsp;Hi everyone,&lt;/p&gt;&lt;p&gt;After installing .Net Framework 2.0 sp1 and MSdeploy on a IIS webserver host, i make a test using the following command line:&lt;/p&gt;&lt;p&gt;msdeploy -verb:getDependencies -source:metakey=lm/W3SVC/SiteId when SiteId is any Website Id found on IIS6.&lt;/p&gt;&lt;p&gt;I am getting the message : an item with the same key has already been added ....&lt;/p&gt;&lt;p&gt;with the -debug option i get further information like:&lt;/p&gt;&lt;p&gt;&amp;nbsp;System.ArgumentException: An item with the same key has already been added.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boo&lt;br /&gt;lean add)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.ParseSystemInfo.ParseWebRestrictionList()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.GetDependenciesMethod.Invoke(DeploymentObject tar&lt;br /&gt;getObject, Object[] parameters)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.Invoke(String methodName, Object&lt;br /&gt;[] parameters)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MSDeploy.MSDeploy.Execute()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MSDeploy.MSDeploy.Main(String[] args)&lt;/p&gt;&lt;p&gt;the IIS6 server is hosting about 2700 website ...&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any Idea about this?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>