<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.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>Microsoft Web Deployment Team Blog</title><link>http://blogs.iis.net/msdeploy/default.aspx</link><description>News, updates and tips for using the Web Deployment Tool.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Debug Build: 20510.895)</generator><item><title>Announcing Web Deploy 3.0 RTW </title><link>http://blogs.iis.net/msdeploy/archive/2012/07/27/announcing-web-deploy-3-0-rtw.aspx</link><pubDate>Thu, 26 Jul 2012 23:58:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4992011</guid><dc:creator>harshmittal</dc:creator><slash:comments>6</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4992011</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2012/07/27/announcing-web-deploy-3-0-rtw.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;Web Deploy V3 RTM is now available. Plese follow our release announcement &lt;A href="http://blogs.iis.net/harshmittal/archive/2012/07/26/announcing-web-deploy-3-0-rtw.aspx" mce_href="http://blogs.iis.net/harshmittal/archive/2012/07/26/announcing-web-deploy-3-0-rtw.aspx"&gt;here&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4992011" width="1" height="1"&gt;</description></item><item><title>Announcing Web Deploy 3.0 Release Candidate! </title><link>http://blogs.iis.net/msdeploy/archive/2012/04/20/announcing-web-deploy-3-0-release-candidate.aspx</link><pubDate>Thu, 19 Apr 2012 23:15:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4941862</guid><dc:creator>harshmittal</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4941862</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2012/04/20/announcing-web-deploy-3-0-release-candidate.aspx#comments</comments><description>&lt;P&gt;We are happy to announce that we have just released the Release Candidate for Web Deploy 3.0. You can download the &lt;A href="http://go.microsoft.com/fwlink/?LinkId=249138" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=249138"&gt;x86&lt;/A&gt; or &lt;A href="http://go.microsoft.com/fwlink/?LinkId=249137" target=_blank mce_href="http://go.microsoft.com/fwlink/?LinkId=249137"&gt;x64&lt;/A&gt; versions. &lt;/P&gt;
&lt;P&gt;If you are new to Web Deploy, Please read our &lt;A href="http://learn.iis.net/page.aspx/1073/introduction-to-web-deploy/" target=_blank mce_href="http://learn.iis.net/page.aspx/1073/introduction-to-web-deploy/"&gt;Introduction to Web Deploy&lt;/A&gt; tutorial. Currently Web Deploy RC is only available through direct download. We are still working on WebPI feed. Easiest way to install V3 RC is to first install Web Deploy V3 Beta using WebPI 4 beta (&lt;A href="http://download.microsoft.com/download/C/4/9/C4963E95-B3E7-4520-BD87-86BFEED90A1E/WebPlatformInstaller_x86.msi" target=_blank mce_href="http://download.microsoft.com/download/C/4/9/C4963E95-B3E7-4520-BD87-86BFEED90A1E/WebPlatformInstaller_x86.msi"&gt;x86&lt;/A&gt;/&lt;A href="http://download.microsoft.com/download/C/4/9/C4963E95-B3E7-4520-BD87-86BFEED90A1E/WebPlatformInstaller_amd64.msi" target=_blank mce_href="http://download.microsoft.com/download/C/4/9/C4963E95-B3E7-4520-BD87-86BFEED90A1E/WebPlatformInstaller_amd64.msi"&gt;x64&lt;/A&gt;) as instructed in &lt;A href="http://learn.iis.net/page.aspx/1075/installing-and-configuring-web-deploy/" target=_blank mce_href="http://learn.iis.net/page.aspx/1075/installing-and-configuring-web-deploy/"&gt;Installing &amp;amp; Configuring Web Deploy&lt;/A&gt; tutorial, and later update it using RC setup.&amp;nbsp; Web Deploy 3.0 beta will be upgrade to the RC version, and this V3 will continue to live side-by-side with Web Deploy 2.0 &amp;amp; Web Deploy 1.1.&lt;/P&gt;
&lt;P&gt;Here's a rundown of new features:&lt;/P&gt;
&lt;H2&gt;1. Publishing &amp;amp; Migration to IIS8&lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;You must have heard about our latest &amp;amp; greatest server release &lt;A href="http://www.microsoft.com/en-us/server-cloud/windows-server/v8-default.aspx" target=_blank mce_href="http://www.microsoft.com/en-us/server-cloud/windows-server/v8-default.aspx"&gt;Windows Server 8 Beta&lt;/A&gt;. It comes with IIS8 which has lots of &lt;A href="http://learn.iis.net/page.aspx/1087/what39s-new-in-iis-80-for-windows-8/" target=_blank mce_href="http://learn.iis.net/page.aspx/1087/what39s-new-in-iis-80-for-windows-8/"&gt;cool new features&lt;/A&gt;. To take advantage of these features, you might be thinking about migration strategy from your existing IIS Servers. Web Deploy 3.0 fully supports migrating to IIS8 from IIS 6, IIS7 and IIS7.5.&amp;nbsp; Please follow our documentation walkthrough on migration&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/446/synchronize-iis/" target=_blank mce_href="http://learn.iis.net/page.aspx/446/synchronize-iis/"&gt;Synchronize IIS&lt;/A&gt; &lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-7-or-above/" target=_blank mce_href="http://learn.iis.net/page.aspx/427/migrate-a-web-site-from-iis-60-to-iis-7-or-above/"&gt;Migrate a Web Site from IIS6.0 to IIS7 and above&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Publishing experience for IIS8 is no different than publishing to IIS7, you can learn more about publishing in our tutorial "&lt;A href="http://learn.iis.net/page.aspx/1080/testing-web-deploy-publishing-from-visual-studio-2010-and-webmatrix/" target=_blank mce_href="http://learn.iis.net/page.aspx/1080/testing-web-deploy-publishing-from-visual-studio-2010-and-webmatrix/"&gt;Testing Web Deploy Publishing From Visual Studio 2010 and WebMatrix&lt;/A&gt;."&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Note that WebMatrix 2.0 and Visual Studio 11 are still in beta and they shipped with beta version of Web Deploy 3.0. Web Deploy team has not done extensive testing of compatibility between beta versions of these products with RC version of Web Deploy 3.0, so we would recommend you to wait for WebMatrix and Visual Studio teams to release&amp;nbsp;post beta&amp;nbsp;builds if you are planning to do anything more than just testing out new features of Web Deploy 3.0 in test environments. &lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;H2&gt;2. Automatic Backup&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;One of the common feedback we received that customers often make mistakes while publishing changes to websites. This is especially true for amateur developers and small business owners. It is very hard to recover from these mistakes. In Web Deploy V3 RC we are introducing new feature "Automatic Backup" which will allow server administrators to configure servers in such a way that each publish will automatically generate a backup and store it on server. If you need to roll back or go to a previous version, you will be able to do it without involving server administrator. &lt;/P&gt;
&lt;P&gt;You can learn more about this feature in our "&lt;A href="http://learn.iis.net/page.aspx/1281/web-deploy-automatic-backups/" target=_blank mce_href="http://learn.iis.net/page.aspx/1281/web-deploy-automatic-backups/"&gt;Automatic Backups"&lt;/A&gt; Tutorial.&amp;nbsp; Please do provide your feedback on this brand new feature!&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;H2&gt;3. PowerShell Cmdlets&lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Web Deploy command line is very versatile which also makes it equally complex. Based on your feedback, team has invested into PowerShell Cmdlets for common Web Deploy tasks. We are releasing more than 20 PowerShell Cmdlets in this release for very first time. &lt;/P&gt;
&lt;P&gt;Powershell cmdlets includes help description as part of cmdlets themselves. More details are provided in &lt;A href="http://learn.iis.net/page.aspx/1284/web-deploy-powershell-cmdlets/" target=_blank mce_href="http://learn.iis.net/page.aspx/1284/web-deploy-powershell-cmdlets/"&gt;"PowerShell Cmdlets" &lt;/A&gt;tutorial.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;H2&gt;4. Improved parameterization&lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Web Deploy supports parameterization of publish settings during deployment time. To learn more read &lt;A href="http://learn.iis.net/page.aspx/1082/web-deploy-parameterization/" target=_blank mce_href="http://learn.iis.net/page.aspx/1082/web-deploy-parameterization/"&gt;Web Deploy parameterization&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Earlier versions of Web Deploy only supported replacing attribute values which already existed as part of the package. We have added support for&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Extend the current xml parameterization beyond attribute value replacements to a more complete xml modification story by allowing addition/deletion/replacement of new elements.&lt;/LI&gt;
&lt;LI&gt;Accept the replacement data for parameters to come from the server, from the package itself or from the source.&lt;/LI&gt;&lt;/OL&gt;
&lt;P&gt;Here is one example of a parameters.xml file which will add newNode to all nodes including the root in target xml file. &lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 27pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameters&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 27pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: red; FONT-SIZE: 8pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; FONT-SIZE: 8pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Additive&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;description&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;Add a node&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;defaultValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: red"&gt;&amp;amp;lt;&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;newNode /&amp;gt;&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;tags&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;""&lt;SPAN style="COLOR: blue"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 27pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameterEntry&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: red; FONT-SIZE: 8pt"&gt;kind&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; FONT-SIZE: 8pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;XmlFile&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;scope&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;.*&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;match&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;//*&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 27pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;nbsp; &amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN: 0in 0in 0pt 27pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameters&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Below are some examples which demonstrate how to get the values from other places&lt;/P&gt;
&lt;P&gt;Get values from remote server:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: red; FONT-SIZE: 8pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; FONT-SIZE: 8pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Replacement Param&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;defaultValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;\\myshare\share\web.config:://connectionStrings&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &amp;gt;&lt;/SPAN&gt;”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameterEntry&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: red; FONT-SIZE: 8pt"&gt;kind&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; FONT-SIZE: 8pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;XMLFILE&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;scope&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;web\.config$&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;match&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;//connectionStrings&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Get values from a file in the package that is being synced:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: red; FONT-SIZE: 8pt"&gt;name&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; FONT-SIZE: 8pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;Replacement Param&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;defaultValue&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;\web.config:://connectionStrings&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &amp;gt;&lt;/SPAN&gt;”&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;nbsp; &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameterEntry&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: red; FONT-SIZE: 8pt"&gt;kind&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; FONT-SIZE: 8pt"&gt;"&lt;SPAN style="COLOR: blue"&gt;XMLFILE&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;scope&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;web\.config$&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;match&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;//connectionStrings&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="LINE-HEIGHT: normal; MARGIN-BOTTOM: 0pt; TEXT-AUTOSPACE: " class=MsoNormal&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: #a31515; FONT-SIZE: 8pt"&gt;parameter&lt;/SPAN&gt;&lt;SPAN style="FONT-FAMILY: Consolas; COLOR: blue; FONT-SIZE: 8pt"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;More details about parameters.xml file can be found &lt;A href="http://learn.iis.net/page.aspx/722/reference-for-the-web-application-package/" target=_blank mce_href="http://learn.iis.net/page.aspx/722/reference-for-the-web-application-package/"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;H2&gt;5. ApphostAuthOverride Provider&lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;This is a new Web Deploy provider which will provide support for changing authentication mode for a given website. Many a times in enterprise environments applications want to choose their own authentication method using web.config file, but AppHostConfig file locks this setting. &amp;nbsp;This means that if a developer tries to set his/her site's authentication settings, IIS will not obey it.&amp;nbsp; The Application Host Authentication Override provider allows developers to configure how IIS locks an authentication setting on the server by adding a &amp;lt;location&amp;gt; tag for that setting within the server's applicationHost.config file.&amp;nbsp; Here is an example of what that looks like in config:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;SPAN style="COLOR: #a31515"&gt;location&lt;/SPAN&gt; &lt;SPAN style="COLOR: red"&gt;path&lt;/SPAN&gt;="siteName" &lt;SPAN style="COLOR: red"&gt;overrideMode&lt;/SPAN&gt;="Allow"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;SPAN style="COLOR: #a31515"&gt;system.webServer&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;SPAN style="COLOR: #a31515"&gt;security&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;SPAN style="COLOR: #a31515"&gt;authentication&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;SPAN style="COLOR: #a31515"&gt;windowsAuthentication&lt;/SPAN&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;SPAN style="COLOR: #a31515"&gt;authentication&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;SPAN style="COLOR: #a31515"&gt;security&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;SPAN style="COLOR: #a31515"&gt;system.webServer&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;SPAN style="COLOR: #a31515"&gt;location&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;Here is a few command line examples of how this could be done &lt;I&gt;(msdeploy.exe is located under "%programfiles%\IIS\Microsoft Web Deploy V3")&lt;/I&gt;:&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;Allow Windows Authentication on Destination at site = SiteName:&amp;nbsp; &lt;BR&gt;&lt;/B&gt;msdeploy.exe -source:ApphostAuthOverride -dest:ApphostauthOverride="&amp;lt;siteName&amp;gt;;windowsAuthentication=Allow"&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;Allow ASP.Net Forms Authentication on Destination at site = SiteName:&lt;BR&gt;&lt;/B&gt;msdeploy.exe -source:ApphostAuthOverride -dest:ApphostauthOverride="&amp;lt;siteName&amp;gt;;aspNetAuthentication=Allow"&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;Deny Anonymous Authentication on Destination at site = SiteName:&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;msdeploy.exe -source:ApphostAuthOverride -dest:ApphostauthOverride="&amp;lt;siteName&amp;gt;;anonymousAuthentication=Deny"&lt;/P&gt;
&lt;P&gt;·&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;B&gt;Reset Windows Authentication Setting on Destination at site = SiteName:&lt;BR&gt;&lt;/B&gt;msdeploy.exe -dest:ApphostAuthOverride="&amp;lt;siteName&amp;gt;;windowsAuthentication"&lt;/P&gt;
&lt;P&gt;Please note the sytax carefully, both &amp;lt;sitename" and authentication setting are part of -dest:ApphostAuthOverride value.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;H2&gt;6. Others&lt;/H2&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Apart from these new features there are many bug fixes in the release. Please follow &lt;A href="http://learn.iis.net/page.aspx/1276/microsoft-web-deploy-v3-readme/" target=_blank mce_href="http://learn.iis.net/page.aspx/1276/microsoft-web-deploy-v3-readme/"&gt;ReadMe &lt;/A&gt;file for more details.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4941862" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News/default.aspx">IIS News</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Migration/default.aspx">Migration</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS+News+Item/default.aspx">IIS News Item</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/MSDeploy/default.aspx">MSDeploy</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/WebDeploy/default.aspx">WebDeploy</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/Publish/default.aspx">Publish</category><category domain="http://blogs.iis.net/msdeploy/archive/tags/IIS8/default.aspx">IIS8</category></item><item><title>Interesting blog post: Setting up your own WebMatrix server</title><link>http://blogs.iis.net/msdeploy/archive/2011/07/25/interesting-blog-post-setting-up-your-own-webmatrix-server.aspx</link><pubDate>Mon, 25 Jul 2011 04:56:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4522439</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4522439</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2011/07/25/interesting-blog-post-setting-up-your-own-webmatrix-server.aspx#comments</comments><description>How to set up your own WebMatrix server and publish to it using Web Deploy: &lt;A href="http://www.bilalaslam.com/setting-up-your-own-webmatrix-server/"&gt;http://www.bilalaslam.com/setting-up-your-own-webmatrix-server/&lt;/A&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4522439" width="1" height="1"&gt;</description><category domain="http://blogs.iis.net/msdeploy/archive/tags/Web+Deployment/default.aspx">Web Deployment</category></item><item><title>Opening an existing live site in WebMatrix</title><link>http://blogs.iis.net/msdeploy/archive/2011/06/29/opening-an-existing-live-site-in-webmatrix.aspx</link><pubDate>Wed, 29 Jun 2011 05:24:51 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4482739</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4482739</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2011/06/29/opening-an-existing-live-site-in-webmatrix.aspx#comments</comments><description>&lt;p&gt;If you have an existing web site, you can open it in Microsoft WebMatrix. There are some caveats (which I have noted below), but overall it works quite well. Let’s suppose you have a Wordpress site:&lt;/p&gt;  &lt;p&gt;1) Start WebMatrix&lt;/p&gt;  &lt;p&gt;2) Click Site from Web Gallery. Walk through the wizard and install Wordpress locally. This will make sure that all the application dependencies (such as PHP and MySQL) are installed. More importantly, WebMatrix will now have all the configuration it needs to publish this site.&lt;/p&gt;  &lt;p&gt;3) Click Publish in the ribbon&lt;/p&gt;  &lt;p&gt;4) Enter publishing settings. I recommend Web Deploy because you can publish databases as well as files using this technology. You can learn more about entering settings &lt;a href="http://learn.iis.net/page.aspx/871/publish-your-website/" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/image_48FF2ECA.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.iis.net/blogs/msdeploy/image_thumb_0DCB52FF.png" width="447" height="321" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;5) Next, an all-important step: click the dropdown under the Publish button and click “Download published site…”. This feature only works with the Web Deploy protocol (caveat!) but it lets you download a full copy of your live site.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/image_2FD3AEC5.png"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.iis.net/blogs/msdeploy/image_thumb_43809859.png" width="242" height="191" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;6) Make any changes you want and click Run in the ribbon.&lt;/p&gt;  &lt;p&gt;7) If the site looks good, click Publish.&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4482739" width="1" height="1"&gt;</description></item><item><title>Announcing Web Deploy 2.0 Refresh!</title><link>http://blogs.iis.net/msdeploy/archive/2011/04/05/announcing-web-deploy-2-0-refresh.aspx</link><pubDate>Tue, 05 Apr 2011 03:54:21 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4370368</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4370368</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2011/04/05/announcing-web-deploy-2-0-refresh.aspx#comments</comments><description>&lt;p&gt;We are happy to announce that we have just released a refresh of Web Deploy 2.0 for MIX ‘11. Our goal for this release was to &lt;strong&gt;make Web Deploy easier to install and manage&lt;/strong&gt;. You can download the &lt;a href="http://go.microsoft.com/fwlink/?LinkId=209115" target="_blank"&gt;x86&lt;/a&gt; or &lt;a href="http://go.microsoft.com/fwlink/?LinkId=209116" target="_blank"&gt;x64&lt;/a&gt; versions.&lt;/p&gt;  &lt;p&gt;Web Deploy 2.0 will upgrade to the latest version, and this latest version will continue to live side-by-side with Web Deploy 1.1.&lt;/p&gt;  &lt;p&gt;Here’s a rundown of new features:&lt;/p&gt;  &lt;h2&gt;1. Easier setup for non-administrator deployments on IIS7&lt;/h2&gt;  &lt;p&gt;One of the common requests from our users was to make it easier to setup Web Deploy so non-administrators can publish to their sites. Typically, you will need to do this if you are running a shared hosting environment or if you are administering a build machine and you do not want users to have admin access.&lt;/p&gt;  &lt;p&gt;If you launch the Web Deploy installer and choose “Custom”, you will notice a new option, “Configure for Non-administrator Deployments”:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/00_1CB68DDE.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="00" border="0" alt="00" src="http://blogs.iis.net/blogs/msdeploy/00_thumb_7B56E841.png" width="452" height="349" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;If you choose this option, Web Deploy will automatically create Management Service Delegation rules for the following providers, as well as user the accounts needed for providers like createApp and recycleApp that need elevated privileges.&lt;/p&gt;  &lt;p&gt;   &lt;br /&gt;These are the rules you will have in the Management Service Delegation UI&amp;#160; in IIS Manager after you install this component:    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/01_0B167D46.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="01" border="0" alt="01" src="http://blogs.iis.net/blogs/msdeploy/01_thumb_29148B3A.png" width="471" height="280" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Notice that Web Deploy setup created two new local user accounts:&lt;/p&gt;  &lt;p&gt;- WDeployConfigWriter, which has Write permissions to the IIS server’s applicationHost.config. This is used by delegation rules for createApp, appPoolNetFx and appPoolPipelineMode.&lt;/p&gt;  &lt;p&gt;- WDeployAdmin, which is an administrator. This is used by delegation rules for recycleApp.&lt;/p&gt;  &lt;p&gt;If you prefer to create these rules by hand, uncheck the component in the installer. We also provide a PowreShell script for creating delegation rules (more on this later in the post) if you prefer that route.&lt;/p&gt;  &lt;h2&gt;2. Services are configured out of the box&lt;/h2&gt;  &lt;p&gt;We made a few common-sense changes to Web Deploy setup so you, as an administrator, can just run our installer and have the right sets of services started and configured so Web Deploy just works out of the box.&lt;/p&gt;  &lt;p&gt;- If Remote Agent Service is installed, it is started automatically by the installer.&lt;/p&gt;  &lt;p&gt;- If the Management Service is installed and you install the IIS7 Deployment Handler component, Web Deploy setup enables incoming connections to the Management Service from Windows and IIS Manager Users and starts the service.&lt;/p&gt;  &lt;p&gt;Additionally, administrators are allowed to bypass Management Service Delegation rules by default. This is useful if you are an administrator on the box and just want to deploy to it without having to worry about delegation rules getting in the way.&lt;/p&gt;  &lt;h2&gt;3. Improved error messages&lt;/h2&gt;  &lt;p&gt;Web Deploy now includes error codes and friendlier error messages. This can be helpful in diagnosing why your Web Deploy command is not working.&lt;/p&gt;  &lt;p&gt;Read more about error codes &lt;a href="http://learn.iis.net/page.aspx/1023/web-deploy-error-codes/" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/02_39AC8628.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="02" border="0" alt="02" src="http://blogs.iis.net/blogs/msdeploy/02_thumb_5FA2367E.png" width="633" height="206" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Notice that the first line shows a request ID. Guess what? The same request ID now shows up in ..&lt;/p&gt;  &lt;h2&gt;4. Per-request tracing for Web Management Service (IIS7 only) in the Windows Event Log&lt;/h2&gt;  &lt;p&gt;By default, Web Deploy now logs errors caused by requests to the Web Management Service. This is a major improvement over previous logging mechanisms which logged to a text file or to Failed Request Tracing (aka FREB) logs.    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;To view Web Deploy logs, simply start Event Viewer and navigate to Applications and Service Logs &amp;gt; Microsoft Web Deploy. Quick tip: add the User column to the view to sort by User ID – this can be useful when you’re on the phone with a remote user!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image002_7276BA28.jpg"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.iis.net/blogs/msdeploy/clip_image002_thumb_7BEF789E.jpg" width="602" height="500" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note that the logging level is Errors Only by default. You can change the logging level from 1 to 4 (4 being the most verbose) by setting this registry key (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IIS Extensions\MSDeploy\2\WMSVCTracing) and restarting the Web Management Service – be forewarned, a logging level of 4 will greatly slow down the Web Management Service and is NOT recommended for production! You can read more about Management Service &lt;a href="http://technet.microsoft.com/en-us/library/ff729437(WS.10).aspx" target="_blank"&gt;logging levels&lt;/a&gt; here.&lt;/p&gt;  &lt;h2&gt;5. IIS Manager UI for Configuring Web Deploy for a Site (IIS7 only)&lt;/h2&gt;  &lt;p&gt;The very first feature in this list set up rules which allow non-administrators to run some Web Deploy providers on your server. However, you still need to enable Web Deploy for specific web sites. This is similar to how you install and configure FTP globally for your server, but you still have to enable FTP for a site before users can access it.&lt;/p&gt;  &lt;p&gt;In the past, this involved manually setting file system security permissions. And when you wanted to generate a publish settings file which could be consumed by Microsoft WebMatrix, you were on your own. Now, IIS Manager includes a new UI to make it easy to set up file system and IIS Manager permissions needed to enable Web Deploy publishing for a site. As an added bonus, this UI also generates a publish settings file which can be used to quickly set up publishing in WebMatrix.&lt;/p&gt;  &lt;p&gt;To try this UI,&lt;/p&gt;  &lt;p&gt;1) Start IIS Manager by clicking Start &amp;gt; Run and type “inetmgr.exe”&lt;/p&gt;  &lt;p&gt;2) Right-click the site you want to publish to, click Deploy and then click “Configure Web Deploy Publishing…”&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/file_2FB76EF0.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="file" border="0" alt="file" src="http://blogs.iis.net/blogs/msdeploy/file_thumb_507B31D7.png" width="357" height="322" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For now, you can just click “Setup” and copy the generated file to your development computer. If you are interested in customizing some of these options, here’s an explanation of what each one of them does:    &lt;table border="1" cellspacing="0" cellpadding="0"&gt;&lt;tbody&gt;       &lt;tr&gt;         &lt;td valign="top" width="237"&gt;           &lt;p&gt;Select a user to give publishing permissions&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="463"&gt;           &lt;p&gt;If you want to publish as the currently logged-in user, leave this unchanged. Otherwise, you can specify a different account by clicking on “…”&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="237"&gt;           &lt;p&gt;Enter a SQL Server / MySQL connection string to be used during publishing&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="463"&gt;           &lt;p&gt;If you enter connection strings here, they will be saved to the publish settings file this dialog generates.&lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;        &lt;tr&gt;         &lt;td valign="top" width="237"&gt;           &lt;p&gt;Specify the URL for the publishing server connection&lt;/p&gt;         &lt;/td&gt;          &lt;td valign="top" width="463"&gt;           &lt;p&gt;This is the HTTPS endpoint your development computer will talk to.&lt;b&gt; &lt;/b&gt;For the majority of cases, you can leave this unchanged. However, in cases where your computer name does not match its public DNS name (common in many virtual dedicated computers), you should enter the public DNS name or IP here. &lt;/p&gt;         &lt;/td&gt;       &lt;/tr&gt;     &lt;/tbody&gt;&lt;/table&gt; &lt;/p&gt;  &lt;h2&gt;6. PowerShell Setup Automation Scripts&lt;/h2&gt;  &lt;p&gt;Note: Requires PowerShell 2 installed&lt;/p&gt;  &lt;p&gt;Web Deploy 2.0 also comes with a set of PowerShell scripts which automate setup-related tasks. Web Deploy 2.0 comes with the following scripts in the \scripts folder of the installation directory:&lt;/p&gt;  &lt;p&gt;- Create delegation rules&lt;/p&gt;  &lt;p&gt;- Set up a site for Web Deploy publishing&lt;/p&gt;  &lt;p&gt;- Create a MySQL database&lt;/p&gt;  &lt;p&gt;- Create a SQL Server database&lt;/p&gt;  &lt;p&gt;You can read more about the scripts &lt;a href="http://learn.iis.net/page.aspx/1024/web-deploy-20-powershell-scripts/" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Lastly, a big &lt;strong&gt;thank you &lt;/strong&gt;to all our users for your feedback and for using your product. We hope you find this refresh useful. If you need help, check out our &lt;a href="http://forums.iis.net/1144.aspx" target="_blank"&gt;forum&lt;/a&gt; or drop us a line at &lt;a href="mailto:wdtrel@microsoft.com"&gt;wdtrel@microsoft.com&lt;/a&gt; with your thoughts! &lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4370368" width="1" height="1"&gt;</description></item><item><title>Understanding Publish Compatibility Check failures</title><link>http://blogs.iis.net/msdeploy/archive/2011/02/07/understanding-publish-compatibility-check-failures.aspx</link><pubDate>Mon, 07 Feb 2011 19:35:35 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4291721</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4291721</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2011/02/07/understanding-publish-compatibility-check-failures.aspx#comments</comments><description>&lt;p&gt;Yishai Galatzer wrote an informative blog post about what to do if you see errors in the Publish Compatibility feature of WebMatrix. May be relevant to you if you use Web Deploy protocol to publish from WebMatrix: &lt;a href="http://blogs.iis.net/yigalatz/archive/2011/02/04/compatibility-checking-in-webmatrix-when-the-checker-reports-failures.aspx"&gt;http://blogs.iis.net/yigalatz/archive/2011/02/04/compatibility-checking-in-webmatrix-when-the-checker-reports-failures.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4291721" width="1" height="1"&gt;</description></item><item><title>A run-down of new features in Web Deploy 2.0</title><link>http://blogs.iis.net/msdeploy/archive/2011/02/03/a-run-down-of-new-features-in-web-deploy-2-0.aspx</link><pubDate>Thu, 03 Feb 2011 05:28:23 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4285282</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4285282</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2011/02/03/a-run-down-of-new-features-in-web-deploy-2-0.aspx#comments</comments><description>&lt;p&gt;Web Deploy 2.0 has been out for a few weeks now. If you don’t have it, I encourage you to go get it now. I’ve been meaning to do a blog post on what’s new … so here it is:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;1) Continuous publishing. &lt;/strong&gt;If you use WebMatrix, you are already using this feature. Web Deploy 2.0 has the ability to create a store of web app-specific settings in the IIS web server’s configuration directory. These settings can be used when a web app is synced to a destination.&lt;/p&gt;  &lt;p&gt;Let’s take a concrete example: suppose you have installed DotNetNuke from the Web Application Gallery in WebMatrix. Application Gallery packages are just Web Deploy packages with manifest.xml and parameters.xml files. During the initial install, WebMatrix uses Web Deploy 2.0’s continuous publishing feature to store the application’s original manifest and parameters (highlighted below) along with user-supplied values for parameters for each computer the application is published to. In the screen below, the application has been installed or ‘published’ to localhost, so you see a folder for that computer.&lt;/p&gt;  &lt;p&gt;The net effect is that not only can the application be published to another computer once it has been installed on your computer, it can also be downloaded from a remote computer. Hence the ability to ‘continuously’ publish an app again and again without losing any of its parameters or manifest entries.&lt;/p&gt;  &lt;p&gt;Of course, the store is programmatically accessible via public APIs. I am planning on showing some sample code for it in a couple of weeks – if you’re really interested in it, drop me a line at baslam at microsoft dot com, and I might share it sooner. The store is currently enabled only on IIS Express.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/image_5600B112.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.iis.net/blogs/msdeploy/image_thumb_4D30A8C6.png" width="523" height="334" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;2) Side-by-side setup. &lt;/strong&gt;It is now possible to have different versions of Web Deploy live side-by-side. Web Deploy 2.0 is backwards-compatible with Web Deploy 1.1 at an API level. We hope this lets our customers try out new versions of Web Deploy without breaking existing systems.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/image_3FEA1FB3.png"&gt;&lt;img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://blogs.iis.net/blogs/msdeploy/image_thumb_104C0127.png" width="400" height="240" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;3) Ability to sync a GAC assembly to destination without having it installed on the source.&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;One common customer request has been to be able to install a GAC assembly on the destination without having it installed on the source. This is typically required in build machines, where you don’t want to add extra DLLs to the GAC. Web Deploy 2.0 has a new provider which uses the same APIs as gacutil.exe to install signed assemblies into the GAC:&lt;/p&gt;  &lt;p&gt;msdeploy.exe -verb:sync -source:gacInstall=&amp;quot;c:\mybuild\myassembly.dll&amp;quot; -dest:auto,computername=”remotecomputer”,username=foouser,password=somepassword, authType=basic –allowUntrusted    &lt;br /&gt;&lt;/p&gt;  &lt;p&gt;This will install myassembly.dll into the remotecomputer’s GAC.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;3) Improved database providers&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Web Deploy1.1 already contained the ability to sync SQL databases using the dbFullSql provider, and MySQL databases. We have now added the ability to sync Sqlite databases as well via the dbSqlite provider. You do need Sqlite installed in the same path as msdeploy.exe:&lt;/p&gt;  &lt;p&gt;msdeploy.exe -verb:dump -source:dbSqlite=&amp;quot;Data Source=filename;Version=3;Password=password;&amp;quot;&lt;/p&gt;  &lt;p&gt;dbFullSql also supports syncing SQL Compact databases to SQL Compact and to SQL Server.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Questions? Comments? Feel free to drop me a line at baslam at microsoft dot com&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4285282" width="1" height="1"&gt;</description></item><item><title>What to do if you see a createApp failure</title><link>http://blogs.iis.net/msdeploy/archive/2011/01/11/what-to-do-if-you-see-a-createapp-failure.aspx</link><pubDate>Tue, 11 Jan 2011 19:35:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4248811</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4248811</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2011/01/11/what-to-do-if-you-see-a-createapp-failure.aspx#comments</comments><description>&lt;P&gt;One of our Web Deploy testers was running into a bizarre issue: even though she had set up &lt;A href="http://learn.iis.net/page.aspx/984/configure-web-deploy/" target=_blank mce_href="http://learn.iis.net/page.aspx/984/configure-web-deploy/"&gt;delegation rules&lt;/A&gt; current (and &lt;A href="http://www.bilalaslam.com/debugging-delegation-rules-for-web-deploy/" target=_blank mce_href="http://www.bilalaslam.com/debugging-delegation-rules-for-web-deploy/"&gt;debugged them using failed request tracing logs&lt;/A&gt;), she was still seeing an error like this when publishing a site from Microsoft WebMatrix using Web Deploy:&lt;/P&gt;
&lt;P&gt;4:23:33 PM: Updating createApp (mysite.webstack01.cytanium.com/rb19). &lt;BR&gt;4:23:34 PM: Updating setAcl (mysite.webstack01.cytanium.com/rb19/web.config). &lt;BR&gt;4:23:38 PM: Updating createApp (mysite.webstack01.cytanium.com/rb19). &lt;BR&gt;4:23:38 PM: Updating setAcl (mysite.webstack01.cytanium.com/rb19/web.config). &lt;BR&gt;4:23:44 PM: Make sure you have appropriate permissions on the server to publish IIS settings. Alternatively, exclude settings that require administrative permission on the server. &lt;BR&gt;4:23:44 PM: Unable to publish. Make sure you have appropriate permissions on the server to publish IIS settings. Alternatively, exclude settings that require administrative permission on the server. &lt;BR&gt;4:23:44 PM: Error detail: &lt;BR&gt;4:23:44 PM: (11/19/2010 4:23:44 PM) An error occurred when the request was processed on the remote computer. &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.StatusThreadHandler.CheckForException() &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.AgentClientProvider.RemoteDestSync(DeploymentObject sourceObject, DeploymentSyncContext syncContext) &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable) &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions) &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.SyncTo(String provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions) &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions) &lt;BR&gt;4:23:44 PM:&amp;nbsp;&amp;nbsp;&amp;nbsp; at Microsoft.WebMatrix.Deployment.MsDeployWorker.Execute(Boolean pullback) &lt;BR&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00"&gt;4:23:44 PM: The server experienced an issue processing the request. Contact the server administrator for more information. &lt;/FONT&gt;&lt;A href="http://go.microsoft.com/fwlink/?LinkId=178035" mce_href="http://go.microsoft.com/fwlink/?LinkId=178035"&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00"&gt;http://go.microsoft.com/fwlink/?LinkId=178035&lt;/FONT&gt;&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;It turns out that this can happen rarely if there is write contention on applicationHost.config (as can happen in shared hosting environments). The suggested steps in the error aren’t actually helpful. The solution? &lt;EM&gt;&lt;STRONG&gt;Just try again!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Still stuck? &lt;/STRONG&gt;Please visit the &lt;A href="http://forums.iis.net/1144.aspx" mce_href="http://forums.iis.net/1144.aspx"&gt;forum&lt;/A&gt;, we'll be happy to help!&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4248811" width="1" height="1"&gt;</description></item><item><title>Introducing a new Beta of Web Deploy v2!</title><link>http://blogs.iis.net/msdeploy/archive/2010/11/11/introducing-a-new-beta-of-web-deploy-v2.aspx</link><pubDate>Thu, 11 Nov 2010 16:20:55 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4164861</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4164861</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/11/11/introducing-a-new-beta-of-web-deploy-v2.aspx#comments</comments><description>&lt;p&gt;The Web Deploy team is excited to announce a new Beta of Web Deploy v2.&lt;/p&gt;  &lt;p&gt;Download the English &lt;a href="http://download.microsoft.com/download/F/5/6/F56A643E-D699-48A0-B757-597CDD47CD32/WebDeploy_x86.msi" target="_blank"&gt;x86&lt;/a&gt; and &lt;a href="http://download.microsoft.com/download/F/5/6/F56A643E-D699-48A0-B757-597CDD47CD32/WebDeploy_amd64.msi" target="_blank"&gt;x64&lt;/a&gt; installers (more languages are coming in the final release)&lt;/p&gt;  &lt;h1&gt;Got feedback?&lt;/h1&gt;  &lt;p&gt;We would love to hear from you. E-mail us: wdeploy at microsoft dot com with your thoughts.&lt;/p&gt;  &lt;h1&gt;Summary of changes:&lt;/h1&gt;  &lt;p&gt;- &lt;strong&gt;Lots of bug fixes&lt;/strong&gt;: We spent a ton of time taking care of quirks and bugs. This release is more stable and complete than v1.1. &lt;/p&gt;  &lt;p&gt;- &lt;strong&gt;Integration with developer tools: &lt;/strong&gt;In this release, we focused on making Web Deploy work better with new developer tools like IIS Express and WebMatrix. Many of the cool new deployment features in WebMatrix (such as &lt;a href="http://blogs.iis.net/msdeploy/archive/2010/11/09/webmatrix-beta-3-download-published-site.aspx" target="_blank"&gt;Download Published Site&lt;/a&gt;) are actually powered by Web Deploy v2. Also, Web Deploy now maintains a programmatically-accessible application definition store in IIS Express, which caches manifest.xml, parameters.xml and last values provided for parameters.xml. This allows an application to be published to another server even after it has been installed on your computer.&lt;/p&gt;  &lt;p&gt;- &lt;strong&gt;Side-by-side setup: &lt;/strong&gt;Web Deploy can now exist side-by-side with older versions. If you install v2, you will notice that it lives in a different folder. You can try out new features without having to uninstall older versions. v2 is also backwards compatible at the API level.&lt;/p&gt;  &lt;p&gt;- &lt;strong&gt;New and updated providers:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt; - (new) sqlite: supports transferring SQLite databases&lt;/p&gt;  &lt;p&gt; - (updated) dbFullSql: now supports transferring SQL Server Compact databases&lt;/p&gt;  &lt;p&gt; - (updated) gacAssembly: now supports syncing an assembly from source to destination even if it’s not installed in the GAC of the source machine&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4164861" width="1" height="1"&gt;</description></item><item><title>WebMatrix Beta 3: Download Published Site</title><link>http://blogs.iis.net/msdeploy/archive/2010/11/09/webmatrix-beta-3-download-published-site.aspx</link><pubDate>Tue, 09 Nov 2010 21:25:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4161495</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4161495</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/11/09/webmatrix-beta-3-download-published-site.aspx#comments</comments><description>&lt;p&gt;&lt;em&gt;&lt;strong&gt;NOTE: This is posted in the Web Deploy blog because this new feature in WebMatrix Beta 3 makes great use of new features in Web Deploy v2.&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;h3&gt;Summary&lt;/h3&gt;  &lt;p&gt;The new Beta 3 release of &lt;a href="http://www.microsoft.com/web/webmatrix" target="_blank"&gt;WebMatrix&lt;/a&gt; includes an exciting new feature: Download Published Site. This feature allows you to download files and databases from your live, previously-published site to your computer so that you can, for example, make and test edits on an up-to-date version before publishing them up to the live site.&lt;/p&gt;  &lt;p&gt;To use this feature, you simply need to publish a site once to a web hosting provider using the Web Deploy protocol. Then, click “Download Published Site…” on the Publish ribbon dropdown menu.&lt;/p&gt;  &lt;h3&gt;Detailed Steps&lt;/h3&gt;  &lt;p&gt;&lt;b&gt;1. Install an application or make your own from a template&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Site from Gallery walkthrough: &lt;a href="http://learn.iis.net/page.aspx/878/create-a-website-from-a-gallery-application/"&gt;http://learn.iis.net/page.aspx/878/create-a-website-from-a-gallery-application/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;FAQs for specific applications: &lt;a href="http://learn.iis.net/page.aspx/873/installing-publishing-apps-with-webmatrix/"&gt;http://learn.iis.net/page.aspx/873/installing-publishing-apps-with-webmatrix/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;2. Choose a hosting provider and get an account&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;We recommend the hosting providers noted on this site (&lt;a href="http://www.asp.net/webmatrix/hosts"&gt;http://www.asp.net/webmatrix/hosts&lt;/a&gt;) because they have installed and configured Web Deploy. You may not be able to use Web Deploy publishing with a hosting provider that is not featured here. You can also get to this page of recommended hosting providers at any time by choosing “Find Web Hosting…” from the Publish ribbon dropdown menu.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image002_40A82F3F.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://blogs.iis.net/blogs/msdeploy/clip_image002_thumb_57F333B0.jpg" width="244" height="170" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;3. Publish your site using the Web Deploy protocol &lt;/b&gt;&lt;/p&gt;  &lt;p&gt;This page has instructions for doing this: &lt;a href="http://learn.iis.net/page.aspx/871/publish-your-website/"&gt;http://learn.iis.net/page.aspx/871/publish-your-website/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;(note that some of the feature names/placements have changes slightly since this was published, such as “Configure…” now being called “Settings…”).&lt;/p&gt;  &lt;p&gt;&lt;b&gt;4. Download your previously-published site&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Start by choosing the Download Published Site… option from the Publish drop down&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image004_244AC752.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image004" border="0" alt="clip_image004" src="http://blogs.iis.net/blogs/msdeploy/clip_image004_thumb_3B95CBC3.jpg" width="244" height="181" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Next you’ll see the preview dialog which will show any files that are different between your local site and the remote site. Note that the database is checked for download by default – &lt;b&gt;&lt;i&gt;you must uncheck it if you don’t want to overwrite your local database&lt;/i&gt;&lt;/b&gt;. You can choose to exclude downloading specific files (or all files) by un-checking them. Click Continue when you’re ready to start the download.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image006_1A362627.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image006" border="0" alt="clip_image006" src="http://blogs.iis.net/blogs/msdeploy/clip_image006_thumb_3114F7A3.jpg" width="360" height="255" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;The notification bar will start with “Download: Starting…” then will scroll through download actions as they occur and switch to “Download: Complete” when the download is finished. You can click on the link in the notification bar or click the “Run” button to browse your now-up-to-date site.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image008_6470BAFF.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image008" border="0" alt="clip_image008" src="http://blogs.iis.net/blogs/msdeploy/clip_image008_thumb_26942383.jpg" width="594" height="31" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image010_533CDD5C.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image010" border="0" alt="clip_image010" src="http://blogs.iis.net/blogs/msdeploy/clip_image010_thumb_58AB4E00.jpg" width="600" height="31" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;h4&gt;Workaround for Common Issues:&lt;/h4&gt;  &lt;p&gt;&lt;b&gt;1. Proxy settings error&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Download Published Site Failed Bad gateway: Check proxy settings&lt;/p&gt;  &lt;p&gt;The remote server returned an error: (502) Bad Gateway.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Workaround:&lt;/b&gt; Same as when publishing. Copied from here (&lt;a href="http://blogs.iis.net/bilalaslam/archive/2010/07/29/webmatrix-publishing-common-errors-and-workarounds.aspx"&gt;http://blogs.iis.net/bilalaslam/archive/2010/07/29/webmatrix-publishing-common-errors-and-workarounds.aspx&lt;/a&gt;) for quick reference: “Error: Bad gateway: check proxy settings&lt;/p&gt;  &lt;p&gt;Solution: This one is literally what it says – check proxy settings because Web Deploy traffic is being blocked. Try installing your corporation’s required firewall client, and disabling all settings in Internet Explorer &amp;gt; Tools &amp;gt; Options &amp;gt; Connections &amp;gt; LAN settings.”&lt;/p&gt;  &lt;p&gt;&lt;b&gt;2. Download fails with a SQL Server administrator error&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Details looks like this:&lt;/p&gt;  &lt;p&gt;&lt;font size="2" face="Courier New"&gt;9:14:15 AM: Download Published Site Failed     &lt;br /&gt;&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;9:14:15 AM: Download Published Site Failed Download Published Site Failed     &lt;br /&gt;&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;9:14:15 AM: Error Detail:     &lt;br /&gt;&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;9:14:15 AM: Logged-in user must have SQL Server administrator privileges to download SQL databases     &lt;br /&gt;&lt;/font&gt;&lt;font size="2" face="Courier New"&gt;9:14:15 AM: at Microsoft.WebMatrix.Deployment.MsDeployWorker.Execute(Boolean pullback)&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Issue&lt;/b&gt;: Due to the way database scripting options are applied during a download, it is required that the application either uses database administrator (sysadmin) credentials in the connection string already or that your logged-in user has SQL database administrator (sysadmin login) permission.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Workaround: &lt;/b&gt;Give your logged-in user account sysadmin permissions to the SQL database by adding a login for them. There are directions here for adding a login using SQL Server Management Studio (available from WebPI if not already installed): &lt;a href="http://msdn.microsoft.com/en-us/library/aa337562.aspx"&gt;http://msdn.microsoft.com/en-us/library/aa337562.aspx&lt;/a&gt;. Make sure when you add the login that you go to the Server Roles page and check the “sysadmin” box.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.iis.net/blogs/msdeploy/clip_image014_62903F6B.jpg"&gt;&lt;img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="clip_image014" border="0" alt="clip_image014" src="http://blogs.iis.net/blogs/msdeploy/clip_image014_thumb_3B094D34.jpg" width="244" height="219" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;3. My site isn’t working after download&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Issue&lt;/b&gt;: All applications are different, and there’s a chance the one you’re using requires a manual edit somewhere to make the application work again. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Workaround&lt;/b&gt;: There may be more information on your application on its FAQ page if it requires a specific action from you: &lt;a href="http://learn.iis.net/page.aspx/873/installing-publishing-apps-with-webmatrix/"&gt;http://learn.iis.net/page.aspx/873/installing-publishing-apps-with-webmatrix/&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;4. My problems don’t look anything like these or the workarounds aren’t working!&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Workaround&lt;/b&gt;: Please let us know you are having trouble by posting here: &lt;a href="http://forums.iis.net/1166.aspx"&gt;http://forums.iis.net/1166.aspx&lt;/a&gt; or logging issues here: &lt;a href="https://connect.microsoft.com/site1112/Feedback"&gt;https://connect.microsoft.com/site1112/Feedback&lt;/a&gt;! Posting to the forum with details of the problem is a good way to get help from the feature team or other users, and your feedback helps us make decisions on how to improve WebMatrix. &lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4161495" width="1" height="1"&gt;</description></item><item><title>Skipping setting an ACL in a Visual Studio 2010 deployment package</title><link>http://blogs.iis.net/msdeploy/archive/2010/10/04/skipping-setting-an-acl-in-a-visual-studio-2010-deployment-package.aspx</link><pubDate>Mon, 04 Oct 2010 22:30:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4111028</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4111028</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/10/04/skipping-setting-an-acl-in-a-visual-studio-2010-deployment-package.aspx#comments</comments><description>&lt;p&gt;A couple of customers have asked me how to skip setting an ACL in a VS 2010 deployment package. There are project-level properties for everything we do in VS to publish or create a deployment package. To disable setting ACLs, you can do either of these:&lt;/p&gt;  &lt;p&gt;1) Edit the .csproj file and set&amp;#160; &amp;lt;IncludeSetAclProviderOnDestination&amp;gt;&lt;b&gt;False&lt;/b&gt;&amp;lt;/IncludeSetAclProviderOnDestination&amp;gt;&lt;/p&gt;  &lt;p&gt;2) msbuild.exe myproject.csproj /p:IncludeSetAclProviderOnDestination=False&lt;/p&gt;  &lt;p&gt;NOTE: This is a cross-post from &lt;a href="http://www.bilalaslam.com/"&gt;bilalaslam.com&lt;/a&gt;. Interested in learning more about Web Deploy? Follow us on Twitter &lt;a href="http://www.twitter.com/wdeploy"&gt;@wdeploy&lt;/a&gt;. Need help? Contact bilal dot aslam at microsoft dot com&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4111028" width="1" height="1"&gt;</description></item><item><title>Workaround for FTP Authorization Rules being deleted on sync</title><link>http://blogs.iis.net/msdeploy/archive/2010/09/30/workaround-for-ftp-authorization-rules-being-deleted-on-sync.aspx</link><pubDate>Thu, 30 Sep 2010 18:51:45 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4106087</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4106087</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/09/30/workaround-for-ftp-authorization-rules-being-deleted-on-sync.aspx#comments</comments><description>&lt;p&gt;NOTE: This is a cross-post from &lt;a href="http://www.bilalaslam.com" target="_blank"&gt;bilalaslam.com&lt;/a&gt;. Interested in learning more about Web Deploy? Follow us on Twitter &lt;a href="http://www.twitter.com/wdeploy" target="_blank"&gt;@wdeploy&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I had a customer contact me with an issue: FTP Authorization Rules for a site were being deleted after sync.&lt;/p&gt;  &lt;p&gt;He has two IIS 7 servers (call them &lt;em&gt;source-server &lt;/em&gt;and &lt;em&gt;destination-server&lt;/em&gt;), and there’s an FTP website called “MyFtpSite” on both servers. &lt;em&gt;Destination-server&lt;/em&gt; has some extra settings for MyFtpSite, specifically FTP Authorization Rules, which are not present on &lt;em&gt;source-server&lt;/em&gt;. The customer ran this command on &lt;em&gt;source-server&lt;/em&gt;:&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:347f0137-bce1-4914-ad76-f14f5948502f" class="wlWriterEditableSmartContent"&gt;&lt;pre style=" width: 797px; height: 118px;background-color:White;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;;font-family:Courier New;font-size:14.25"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;msdeploy&lt;/span&gt;&lt;span style="color: #000000;"&gt;.&lt;/span&gt;&lt;span style="color: #000000;"&gt;exe -verb&lt;/span&gt;&lt;span style="color: #800000;"&gt;:sync&lt;/span&gt;&lt;span style="color: #000000;"&gt; -source&lt;/span&gt;&lt;span style="color: #800000;"&gt;:webServer&lt;/span&gt;&lt;span style="color: #000000;"&gt; -dest&lt;/span&gt;&lt;span style="color: #800000;"&gt;:auto&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;computername&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;destination-server -skip&lt;/span&gt;&lt;span style="color: #800000;"&gt;:website&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;MyFtpSite&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;msdeploy.exe command line provides nice syntatic sugar, –skip:website=&amp;lt;websiteName&amp;gt; for skipping a whole website. Once this command ran, he noticed that MyFtpSite’s content was untouched but its FTP Authorization Rules were deleted. What was going on?&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;p&gt;Under the covers, –skip:website=&amp;lt;yourWebsite&amp;gt; is the same as doing –skip:objectName=&amp;lt;yourWebsite&amp;gt;. This will skip all objects named yourWebsite. However, I looked at &lt;em&gt;destination-server’s &lt;/em&gt;applicationHost.config, and voila, FTP Authorization Rules were being declared in a &amp;lt;location&amp;gt; tag. It turns out there’s a bug in Web Deploy v1.1. where the –skip:website syntactic sugar does not skip &amp;lt;location&amp;gt; tags and, as a result, it’s an object the source does not see, so it’s deleted:

  &lt;br /&gt;&lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:65fdd67f-dcbd-4049-9a29-10ea7a61e070" class="wlWriterEditableSmartContent"&gt;&lt;pre style=" width: 789px; height: 190px;background-color:White;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;;font-family:Courier New;font-size:14.25"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;location &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;path&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;MyFtpSite&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;system.ftpServer&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;security&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;authorization&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
                    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;add &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;accessType&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Allow&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; users&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;*&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; permissions&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Read, Write&amp;quot;&lt;/span&gt;&lt;span style="color: #FF0000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;/&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
                &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;authorization&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
            &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;security&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
        &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;system.ftpServer&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
    &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;location&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;What’s the workaround? You have to have a separate skip for the &amp;lt;location&amp;gt; tag:&lt;/p&gt;

&lt;p&gt;&amp;#160;&lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:1c17b9ac-3f48-4120-a29b-f181af4e653d" class="wlWriterEditableSmartContent"&gt;&lt;pre style=" width: 800px; height: 134px;background-color:White;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;;font-family:Courier New;font-size:14.25"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;msdeploy&lt;/span&gt;&lt;span style="color: #000000;"&gt;.&lt;/span&gt;&lt;span style="color: #000000;"&gt;exe -verb&lt;/span&gt;&lt;span style="color: #800000;"&gt;:sycn&lt;/span&gt;&lt;span style="color: #000000;"&gt; -source&lt;/span&gt;&lt;span style="color: #800000;"&gt;:webServer&lt;/span&gt;&lt;span style="color: #000000;"&gt; -dest&lt;/span&gt;&lt;span style="color: #800000;"&gt;:auto&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;computername&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;destination-server -skip&lt;/span&gt;&lt;span style="color: #800000;"&gt;:website&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;MyFtpSite&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt; -skip&lt;/span&gt;&lt;span style="color: #800000;"&gt;:xPath&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;//section[@name='system.ftpServer/security/authorization']&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;Note: I should really make this skip a little tighter, because it will skip syncing system.ftpServer/security/authorization sections for ANY website. But you get the idea … &lt;img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://blogs.iis.net/blogs/msdeploy/wlEmoticon-smile_6BD23D92.png" /&gt;&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4106087" width="1" height="1"&gt;</description></item><item><title>A note on setAcl provider behavior</title><link>http://blogs.iis.net/msdeploy/archive/2010/09/28/a-note-on-setacl-provider-behavior.aspx</link><pubDate>Tue, 28 Sep 2010 04:18:30 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4100802</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4100802</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/09/28/a-note-on-setacl-provider-behavior.aspx#comments</comments><description>&lt;p&gt;Note: this is a cross-post from &lt;a href="http://www.bilalaslam.com" target="_blank"&gt;bilalaslam.com&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Chances are if you are deploying an application using Web Deploy, you are using the setAcl provider. What is setAcl? It’s a provider that lets you set permissions on file system objects. Typically, this involves setting permissions on a sub-folder of your application, such as App_Data.&lt;/p&gt;  &lt;p&gt;I recently had a customer contact me and I had to explain this particular behavior for setAcl. Let’s say you run this command:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:0c07d60e-14f3-491f-9d87-5decf5040a21" class="wlWriterEditableSmartContent"&gt;&lt;pre style=" width: 781px; height: 73px;background-color:White;white-space:-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; white-space: pre-wrap; word-wrap: break-word;overflow: auto;;font-family:Courier New;font-size:14.25"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt;msdeploy&lt;/span&gt;&lt;span style="color: #000000;"&gt;.&lt;/span&gt;&lt;span style="color: #000000;"&gt;exe -verb&lt;/span&gt;&lt;span style="color: #800000;"&gt;:sync&lt;/span&gt;&lt;span style="color: #000000;"&gt; -source&lt;/span&gt;&lt;span style="color: #800000;"&gt;:setacl&lt;/span&gt;&lt;span style="color: #000000;"&gt; -dest&lt;/span&gt;&lt;span style="color: #800000;"&gt;:setacl&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Default Web Site&lt;/span&gt;&lt;span style="color: #000000;"&gt;&amp;quot;&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;setacluser&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;ApplicationPoolIdentity&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;setaclaccess&lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt;Read

&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;This command will give the ApplicationPoolIdentity Read access to the App_Data folder. Before it does that, however, it will &lt;strong&gt;clear existing permissions on the folder for the identity&lt;/strong&gt;. This makes sense, since setAcl has to set the correct permissions and the only way to do that is to clear existing permissions for the identity. For example, if the ApplicationPoolIdentity had Read,Execute permissions before, now it will just have Read permissions.&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4100802" width="1" height="1"&gt;</description></item><item><title>Debugging delegation rules for Web Deploy</title><link>http://blogs.iis.net/msdeploy/archive/2010/09/24/debugging-delegation-rules-for-web-deploy.aspx</link><pubDate>Fri, 24 Sep 2010 18:45:10 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4097121</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4097121</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/09/24/debugging-delegation-rules-for-web-deploy.aspx#comments</comments><description>&lt;p&gt;Note: this is a cross-post from &lt;a href="http://www.bilalaslam.com" target="_blank"&gt;bilalaslam.com&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;I recently had a shared hosting provider customer contact me about a problem with non-administrators deploying using Web Deploy. The specific issue he was running into was that the deployment would work if the user deployed to a sub-application (e.g. mywebsite/myapp) but not if he deployed to the root of the site (e.g. mywebsite). I want to walk through how to debug issues with Web Deploy delegation rules.&lt;/p&gt;  &lt;p&gt;First things first – let’s take some steps to make debugging easier. Read &lt;a href="http://technet.microsoft.com/en-us/library/ee461173%28WS.10%29.aspx" target="_blank"&gt;here&lt;/a&gt; about how to enable Web Management Service (wmsvc) tracing – you can read about IIS tracing in general &lt;a href="http://blogs.iis.net/webtopics/archive/2009/06/12/troubleshooting-a-simple-error-message-using-freb.aspx" target="_blank"&gt;here&lt;/a&gt;. &lt;strong&gt;Don’t forget to restart wmsvc once you enable tracing! &lt;/strong&gt;This will start recording all sorts of useful information every time a request comes to wmsvc.&lt;/p&gt;  &lt;p&gt;Once the customer did that, I looked at his tracing logs files. I generally search for the names of common Web Deploy providers, such as createApp, setAcl and recycleApp, that require non-standard permissions. Sure enough, I found the culprit:&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:9D7513F9-C04C-4721-824A-2B34F0212519:e42b3680-7266-467a-be24-e2fc8e227dc6" class="wlWriterEditableSmartContent"&gt;&lt;pre style=" width: 765px; height: 411px;background-color:White;overflow: auto;;font-family:Courier New;font-size:14.25"&gt;&lt;div&gt;&lt;!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

--&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;EventData&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Data &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;ContextId&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;{00000000-0000-0000-517F-0080020000F6}&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;Data&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Data &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;Uri&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;/msdeploy.axd&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;Data&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
  &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #800000;"&gt;Data &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;Name&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;=&amp;quot;eventData&amp;quot;&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;Tracing deployment agent exception. Request ID &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;amp;apos;&amp;amp;apos;&lt;/span&gt;&lt;span style="color: #000000;"&gt;. Request Timestamp: &lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;amp;apos;&lt;/span&gt;&lt;span style="color: #000000;"&gt;09/23/2010 18:47:04&lt;/span&gt;&lt;span style="color: #FF0000;"&gt;&amp;amp;apos;&lt;/span&gt;&lt;span style="color: #000000;"&gt;. Error Details:
System.UnauthorizedAccessException: Attempted to perform an unauthorized operation.
   at System.Security.AccessControl.Win32.SetSecurityInfo(ResourceType type, String name, SafeHandle handle, SecurityInfos securityInformation, SecurityIdentifier owner, SecurityIdentifier group, GenericAcl sacl, GenericAcl dacl)
   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, SafeHandle handle, AccessControlSections includeSections, Object exceptionContext)
   at System.Security.AccessControl.NativeObjectSecurity.Persist(String name, AccessControlSections includeSections, Object exceptionContext)
   at Microsoft.Web.Deployment.FileSystemSecurityEx.Persist(String path)
   at Microsoft.Web.Deployment.SetAclProvider.Add(DeploymentObject source, Boolean whatIf)
   at Microsoft.Web.Deployment.DeploymentObject.Update(DeploymentObject source, DeploymentSyncContext syncContext)
   at Microsoft.Web.Deployment.DeploymentSyncContext.HandleUpdate(DeploymentObject destObject, DeploymentObject sourceObject)
   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
   at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)
   at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable)
   at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentWorkerRequest workerRequest)&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;Data&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;span style="color: #000000;"&gt;
 &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color: #800000;"&gt;EventData&lt;/span&gt;&lt;span style="color: #0000FF;"&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p&gt;Notice that one of the lines mentions the SetAclProvider. This told me that Web Deploy was failing to set file system permissions. I then asked him for the output of icacls.exe on the folder where the website’s files are stored. I saw something like this:&lt;/p&gt;

&lt;p&gt;&lt;font size="2" face="Courier New"&gt;C:\Users\Administrator&amp;gt;icacls C:\hostingspaces\foobar\foobar.com\wwwroot 
    &lt;br /&gt;C:\hostingspaces\foobar\foobar.com\wwwroot NT AUTHORITY\SYSTEM:(OI)(CI)&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; BUILTIN\Administrators:(OI)&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; machine\someuser:(OI)(CI)(R)&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; machine\someuser:(OI)(CI)(M)&amp;#160; &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; machine\someuser:(OI)(CI)(RX) 

    &lt;br /&gt;Successfully processed 1 files; Failed processing 0 files 

    &lt;br /&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;From this, I can tell that the customer hasn’t given the local user account (someuser) Full Control over the wwwroot directory. SetAcl is failing because Modify permissions are not enough to change the permissions on a directory, they’re just enough to set permissions on child objects (such as sub-folders and files underneath the directory). Giving this user Full Control fixed the problem!&lt;/p&gt;

&lt;p&gt;I hope this blog post helps you debug Web Deploy delegated deployments. If you have any questions, feel free to reach out to me at: baslam at microsoft dot com. Follow us on Twitter: &lt;a href="http://www.twitter.com/wdeploy" target="_blank"&gt;@wdeploy&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4097121" width="1" height="1"&gt;</description></item><item><title>Common Web Deploy connection errors (and recipes for fixing them)</title><link>http://blogs.iis.net/msdeploy/archive/2010/09/22/common-web-deploy-connection-errors-and-recipes-for-fixing-them.aspx</link><pubDate>Wed, 22 Sep 2010 22:25:00 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:4093488</guid><dc:creator>panic_at_the_disco</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.iis.net/msdeploy/rsscomments.aspx?PostID=4093488</wfw:commentRss><comments>http://blogs.iis.net/msdeploy/archive/2010/09/22/common-web-deploy-connection-errors-and-recipes-for-fixing-them.aspx#comments</comments><description>&lt;P&gt;Note: this is a cross-post from &lt;A href="http://www.bilalaslam.com/" target=_blank mce_href="http://www.bilalaslam.com"&gt;bilalaslam.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Because Web Deploy is a client-server product, unless it is set up correctly, chances are you will hit a wall pretty quickly at the point where a connection is made. In this blog post, I will show you common solutions for common errors.&lt;/P&gt;
&lt;P&gt;Read on for general tips and recipes for fixing common connectivity errors.&lt;/P&gt;&lt;!--more--&gt;
&lt;H3&gt;General Tips&lt;/H3&gt;
&lt;UL&gt;
&lt;LI&gt;Web Deploy sometimes returns different information in errors messages if you provide administrator credentials vs. non-administrator credentials. If you hit an error, try to run the command as administrator. &lt;/LI&gt;
&lt;LI&gt;Web Deploy sometimes returns different information if source and destination machine are the same vs. destination machine is remote. If you hit an error, try to run it on the remote machine. &lt;/LI&gt;
&lt;LI&gt;Run the command with –verbose and –debug switches. These will make Web Deploy spit out more information which can be useful in debugging. &lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;Error: 503 Server Unavailable&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Error Trace:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;msdeploy.exe -verb:dump -source:apphostconfig,computerName=demo-host&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT face="Courier New"&gt;Error: Object of type 'appHostConfig' and path '' cannot be created. &lt;BR&gt;Error: Remote agent (URL http://demo-host/MSDEPLOYAGENTSERVICE) could not be contacted.&amp;nbsp; Make sure the remote agent service is installed and started on the target computer. &lt;BR&gt;Error: An unsupported response was received. The response header 'MSDeploy.Response' was '' but 'v1' was expected. &lt;BR&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00"&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New"&gt;&lt;FONT size=2&gt;Error: The remote server returned an error: (503) Server Unavailable. &lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT style="BACKGROUND-COLOR: #ffff00"&gt;&lt;/FONT&gt;Error count: 1.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why it happens:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Incorrect destination name or host unreachable. &lt;/LI&gt;
&lt;LI&gt;Remote Agent Service not installed on destination. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;How to fix it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure you can ping the remote computer. &lt;/LI&gt;
&lt;LI&gt;Run this command on the destination in an elevated command prompt: “net start msdepsvc”. This will start the Remote Agent Service on the destination, which allows administrator deployments. &lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;Error: Default credentials cannot be supplied for the basic authentication scheme&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Error Trace:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;msdeploy.exe -verb:dump -source:apphostconfig,wmsvc=demo-host &lt;BR&gt;Error: Object of type 'appHostConfig' and path '' cannot be created. &lt;BR&gt;Error: The specified credentials cannot be used with the authentication scheme 'basic'. &lt;BR&gt;Error: Default credentials cannot be supplied for the basic authentication scheme. &lt;BR&gt;Parameter name: authType &lt;BR&gt;Error count: 1.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why it happens:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You are telling Web Deploy to connect to the Web Management Service on the destination. By default, Web Deploy will connect using HTTP Basic Authentication. &lt;/LI&gt;
&lt;LI&gt;When using HTTP Basic Authentication, specific credentials must be supplied, which is not true in the command shown above. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;How to fix it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Change the command to: &lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New"&gt;msdeploy.exe -verb:dump -source:apphostconfig,wmsvc=demo-host,authType:basic,username=someuser,password=somepassword&lt;/FONT&gt;&lt;/P&gt;
&lt;H3&gt;Error: The remote certificate is invalid according to the validation procedure.&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Error Trace:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2 face="Courier New"&gt;msdeploy.exe -verb:dump -source:apphostconfig,wmsvc=demo-host,authType=basic,username=someuser,password=somepassword &lt;BR&gt;Error: Object of type 'appHostConfig' and path '' cannot be created. &lt;BR&gt;Error: Could not complete the request to remote agent URL '&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;https://demo-host:8172/msdeploy.axd?Site='&lt;/FONT&gt;&lt;FONT size=2 face="Courier New"&gt;. &lt;BR&gt;Error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. &lt;BR&gt;Error: The remote certificate is invalid according to the validation procedure. &lt;BR&gt;Error count: 1.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Why it happens:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You are connecting to the destination using the Web Management Service (wmsvc), which creates an HTTPS connection. &lt;/LI&gt;
&lt;LI&gt;The certificate on the destination is invalid, so you see this error. &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;STRONG&gt;How to fix it:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Install a valid wmsvc certificate on the destination &lt;/LI&gt;
&lt;LI&gt;OR add the –allowUntrusted flag on the command &lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;&lt;FONT size=2 face="Courier New"&gt;msdeploy.exe -verb:dump -source:apphostconfig,wmsvc=demo-host,authType=basic,username=someuser,password=somepassword –allowUntrusted&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.iis.net/aggbug.aspx?PostID=4093488" width="1" height="1"&gt;</description></item></channel></rss>