<?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 'Msdeploys'</title><link>http://forums.iis.net/search/SearchResults.aspx?o=DateDescending&amp;tag=Msdeploys&amp;orTags=0</link><description>Search results matching tag 'Msdeploys'</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>Beta 2 32-bit Download</title><link>http://forums.iis.net/p/1157749/1904170.aspx#1904170</link><pubDate>Tue, 19 May 2009 09:20:28 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1904170</guid><dc:creator>Codeweavers</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;We currently have Beta 2 installed and need to install it on another server but require the 32-bit version for this.&amp;nbsp; The problem is that all links to the Beta 2 download now go to RC1.&lt;/p&gt;&lt;p&gt;Is Beta 2 32-bit version available for download anywhere?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;p&gt;Chris &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Cruise Control and MS Deploy</title><link>http://forums.iis.net/p/1157168/1901848.aspx#1901848</link><pubDate>Sat, 25 Apr 2009 05:12:34 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1901848</guid><dc:creator>sasikantt24</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Hi,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Currently we are using Cruise control and nant scripts for creating packages and deploying them.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font face="Times New Roman" size="3"&gt;I&amp;nbsp;have couple of questions. Please help me to understand MS deploy thoroughly.&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;1. Can we use packages (zip files) created using nant build scripts along with Web Deployment tool (MS deploy) to deploy application?&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;2. Can we replace web.config contents dynamically which is part of package which is not created using MS Deploy?&lt;/font&gt;&lt;/font&gt; &lt;/font&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;2. Can we use MS deploy to deploy application which is not already deployed on any server (First time deployment)?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Regards,&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Shashikant Gund&lt;/font&gt;&lt;/font&gt;&lt;font face="Times New Roman" size="3"&gt;&amp;nbsp;&lt;/font&gt;</description></item><item><title>Re: Run msdeploy.exe through ASP.net</title><link>http://forums.iis.net/p/1153579/1890740.aspx#1890740</link><pubDate>Thu, 22 Jan 2009 19:01:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1890740</guid><dc:creator>dbuggs</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;A quick and dirty way to eliminate the insufficient privileges issue is to change the account that the app pool runs under to an admin account for a quick test.&lt;/p&gt;</description></item><item><title>Anonymous user</title><link>http://forums.iis.net/p/1153858/1887867.aspx#1887867</link><pubDate>Wed, 17 Dec 2008 19:08:20 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887867</guid><dc:creator>CedricBoivin</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>How with msdeploy i can specify the new AnonymousUser and password when i migrate my website from IIS 6.0 to IIS 7.0.&lt;br /&gt;My servers are not in a domain so it&amp;#39;s not the same anonymous user.&lt;br /&gt;Thanks a lots.
</description></item><item><title>ReplaceHandler not working, rule or command</title><link>http://forums.iis.net/p/1153820/1887689.aspx#1887689</link><pubDate>Tue, 16 Dec 2008 21:29:37 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887689</guid><dc:creator>CedricBoivin</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>Hi&lt;br /&gt;
I&amp;#39;ve been using msDeploy for a feww days and it&amp;#39;s working fine, except the   replace rule, i am not able to execute the rule correctly. I have tried command,   rule in configuration file and nothing has worked. Here is my last rule. &lt;br /&gt;
&lt;br /&gt; 
&amp;lt;configuration &amp;gt;&amp;lt;rules &amp;gt;&amp;lt;rule name=&amp;quot;ReplaceIPAddressInBinding&amp;quot; type=&amp;quot;Microsoft.Web.Deployment.DeploymentReplaceRule&amp;quot; enabled=&amp;quot;true&amp;quot; objectName=&amp;quot;IIsWebServer&amp;quot; scopeAttributeName=&amp;quot;ServerBindings&amp;quot; scopeAttributeValue=&amp;quot;192\.168\.99\.100[:\n\c\.\wA-Z]*&amp;quot; targetAttributeName=&amp;quot;bindingInformation&amp;quot; match=&amp;quot;192\.168 \.99\.100&amp;quot; replace=&amp;quot;127.0.0.1&amp;quot; &amp;gt;&amp;lt;/rule&amp;gt;&amp;lt;/rules&amp;gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I  have also tried :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;configuration&amp;gt;&amp;lt;rules &amp;gt;&amp;lt;rule name=&amp;quot;ReplaceIPAddressInBinding&amp;quot; type=&amp;quot;Microsoft.Web.Deployment.DeploymentReplaceRule&amp;quot; enabled=&amp;quot;true&amp;quot; targetAttributeName=&amp;quot;bindingInformation&amp;quot; match=&amp;quot;192\.168\.99\.100&amp;quot; replace=&amp;quot;127.0.0.1&amp;quot; &amp;gt;&amp;lt;/rule&amp;gt;&amp;lt;/rules&amp;gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;

or&lt;br /&gt;
&lt;br /&gt;
&amp;lt;configuration&amp;gt;&amp;lt;rules &amp;gt;&amp;lt;rule name=&amp;quot;ReplaceIPAddressInBinding&amp;quot; type=&amp;quot;Microsoft.Web.Deployment.DeploymentReplaceRule&amp;quot; enabled=&amp;quot;true&amp;quot; targetAttributeName=&amp;quot;bindingInformation&amp;quot; match=&amp;quot;192\.168\.99\.100&amp;quot; replace=&amp;quot;127.0.0.1&amp;quot; &amp;gt;&amp;lt;/rule&amp;gt;&amp;lt;/rules&amp;gt;&amp;lt;/configuration&amp;gt;
&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;configuration&amp;gt;&amp;lt;rules &amp;gt;&amp;lt;rule name=&amp;quot;ReplaceIPAddressInBinding&amp;quot; type=&amp;quot;Microsoft.Web.Deployment.DeploymentReplaceRule&amp;quot; enabled=&amp;quot;true&amp;quot; objectName=&amp;quot;metaProperty&amp;quot; targetAttributeName=&amp;quot;bindingInformation&amp;quot; match=&amp;quot;192\.168\.99\.100&amp;quot; replace=&amp;quot;127.0.0.1&amp;quot; &amp;gt;&amp;lt;/rule&amp;gt;&amp;lt;/rules&amp;gt;&amp;lt;/configuration&amp;gt;&lt;br /&gt;
&lt;br /&gt; 

my command line is 

&lt;br /&gt;
&lt;br /&gt;
msdeploy -verb:migrate -source:metakey =LM/W3SVC/719185767,computerName=http://192.168.99.100:8081/msdeploy/ -dest:meta key=LM/W3SVC/719185767/ -disableLink:ContentExtension -verbose

&lt;br /&gt;
&lt;br /&gt;
i have also try to add command line&lt;br /&gt;
&lt;br /&gt; 
replace -replace:ObjectName=metaProperty,targetAttributeName=bindingInformation,match=192\.168\.99\.100,replace=192.168.0.9 

&lt;br /&gt;
&lt;br /&gt;
nothing work, anybody know why ?</description></item><item><title>How i change anonymousUser informations</title><link>http://forums.iis.net/p/1153783/1887597.aspx#1887597</link><pubDate>Mon, 15 Dec 2008 21:52:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887597</guid><dc:creator>CedricBoivin</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>I try to import iis 6.0 web sites from IIS 6.0 to IIS 7.0, everything working fine, but i can&amp;#39;t find informations on how to change anonymous user informations.

On my old server the user was IUSR_IISSERVER and on the new servuer it&amp;#39;s IUSER_IISSEVENSERVER

How can i do that with msdeploys.

Please help me.


</description></item><item><title>ReplaceRuleHandler not working </title><link>http://forums.iis.net/p/1153777/1887585.aspx#1887585</link><pubDate>Mon, 15 Dec 2008 18:22:44 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1887585</guid><dc:creator>CedricBoivin</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>Hello,

Why my ReplaceIpAddressInBinding rule don&amp;#39;t work. 

I put my rules on the source machine (remote one) and I on the target machine (the machine where I execute the command) and the IP dont change.

There is my rule.



I try to put in the command to and it&amp;#39;s not work, some one know why ?

When I would be able to make a replacement rule, I want create rule to change the anonymous username, and the password if it&amp;#39;s possible.

I want to create a rule to change the domaine name ie: www.microsoft.com to www.microsoft.locale.com because I want to syncrhonize a production server with a test server, so i need to change the domaine of each web site.

Thanks</description></item><item><title>How to run msdeploy with elevated privileges (as administrator)</title><link>http://forums.iis.net/p/1153511/1886530.aspx#1886530</link><pubDate>Tue, 02 Dec 2008 19:36:16 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1886530</guid><dc:creator>DeanMajor</dc:creator><cs:applicationKey>web_deployment_tool_wdeploy-39</cs:applicationKey><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am currently working on a deployment web app, which wraps msdeploy. I have run successfully from my local machine. However, when deployed to our dev server, the deployment app doesn&amp;#39;t work. Files are not copied and I get the following event log entry:&lt;/p&gt;
&lt;p&gt;Event Type: Error&lt;br /&gt;Event Source: Application Error&lt;br /&gt;Event Category: (100)&lt;br /&gt;Event ID: 1000&lt;br /&gt;Date:&amp;nbsp; 12/1/2008&lt;br /&gt;Time:&amp;nbsp; 4:48:23 PM&lt;br /&gt;User:&amp;nbsp; N/A&lt;br /&gt;Computer: DWEBAPP01.xxxx.Com&lt;br /&gt;Description:&lt;br /&gt;Faulting application msdeploy.exe, version 7.1.300.0, faulting module 490650db, version KERNEL32.dll, fault address 0x6.0.6001.18000.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using IIS7 on&amp;nbsp;our&amp;nbsp;dev server (running Windows Server 2008), and my web development is using VS2008. In my deployment web app, I create a process and start it, using the following code:&lt;/p&gt;
&lt;p&gt;mDeployProcess = new Process&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StartInfo = new ProcessStartInfo&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;FileName = cDeployCommandPath,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arguments = DeployParameters(),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UseShellExecute = false,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CreateNoWindow = true,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;UserName = cBuilder,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Password = GetSecurePassword(cBuilderPassword)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/p&gt;
&lt;p&gt;};&lt;br /&gt;mDeployProcess.Start();&lt;/p&gt;
&lt;p&gt;The FileName parameter points to msdeploy.exe, and the Arguments parameter ends up as follows:&lt;/p&gt;
&lt;p&gt;-verb:sync -source:contentPath=\\builderpc\TeamCityBuildArtifacts\xxx.EnterpriseServices\xxx.EnterpriseServices_Release\405\ -dest:contentPath=\\dwebapp01\c$\inetpub\wwwroot\xxx.EnterpriseServices,computerName=DWEBAPP01,username=builder,password=builder&lt;/p&gt;
&lt;p&gt;I can run msdeploy from a command prompt on the dev server using these parameters successfully, if I select &amp;quot;Run as administrator&amp;quot; when opening the command prompt. How do I make my web app run msdeploy as an administrator? I&amp;#39;ve read some posts about the need to use elevated privileges, but I don&amp;#39;t know how to do this, or even if that is the correct solution. Any help much appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Dean&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></channel></rss>