<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.iis.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:cs="http://blogs.iis.net/"><channel><title>Web Deployment Tool (MS Deploy)</title><link>http://forums.iis.net/1144.aspx</link><description>Questions about using the Microsoft Web Deployment Tool to sync or migrate sites and servers.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: 800900005</title><link>http://forums.iis.net/thread/1908156.aspx</link><pubDate>Wed, 24 Jun 2009 18:11:53 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908156</guid><dc:creator>richma</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908156.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1908156</wfw:commentRss><description>&lt;p&gt;The following shows how to export the&amp;nbsp;export the keys from the original server in a shared config scenario .&amp;nbsp; &lt;a href="http://learn.iis.net/page.aspx/264/shared-configuration/"&gt;http://learn.iis.net/page.aspx/264/shared-configuration/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Supertramp&amp;nbsp; , thanks for passing this along .&lt;/p&gt;</description></item><item><title>Re: 800900005</title><link>http://forums.iis.net/thread/1908127.aspx</link><pubDate>Wed, 24 Jun 2009 15:13:09 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1908127</guid><dc:creator>ksanders99</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1908127.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1908127</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Supertramp - this looks like the cause - I get the same error 0x80090005 message when I try to set the pw for a virtual directory on the destination host.&amp;nbsp; I&amp;#39;d bet that this happened when we were testing the shared configuration setup and the applicationhost.config file that ended up on it was from the initial master.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Since these are fresh hosts (well relatively),l didn&amp;#39;t have them in backups yet, so there&amp;#39;s no way to recover the original applicationhost.config file. I&amp;#39;ll burn them down and reinstall. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks for chiming in - there&amp;#39;s no documentation anywhere else (that&amp;#39;s I&amp;#39;ve found so far) for this problem, so maybe it&amp;#39;ll help someone else.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: 800900005</title><link>http://forums.iis.net/thread/1907995.aspx</link><pubDate>Tue, 23 Jun 2009 17:22:26 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907995</guid><dc:creator>SuperTramp</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907995.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907995</wfw:commentRss><description>&lt;p&gt;This error is often indicative of an encyrption problem with IIS.&amp;nbsp;&amp;nbsp;Here&amp;#39;s how to check -&amp;gt; using the UI, try to set a password (like a virtual directory password).&amp;nbsp; If you get the same error, then the configuration encryption problem is fucked up.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;If you look at the top of the applicationhost.config file (inetsrv\config directory), you&amp;#39;ll see a bunch of &amp;lt;configProtectedData&amp;gt;&amp;nbsp;entries.&amp;nbsp; These are machine specific (by default) and are&amp;nbsp;the keys is used to encrypt/decrypt properties.&amp;nbsp; If for some reason you&amp;nbsp;deleted these, or copied them from another machine, this will lead to encryption problems like you&amp;#39;re seeing.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;You can remedy this by going to an older applicationhost.config (checkout your inetpub\backup directory) that was working (again, do the UI set password test to see that things are working).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;The IIS team really needs to write a tool to help repair configurations in this state.&amp;nbsp; If you can&amp;#39;t find a good config file to replace, you&amp;#39;ll have to re-install again.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Sorry for the bad news.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: 800900005</title><link>http://forums.iis.net/thread/1907990.aspx</link><pubDate>Tue, 23 Jun 2009 16:55:24 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907990</guid><dc:creator>ksanders99</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907990.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907990</wfw:commentRss><description>&lt;p&gt;The default site and the second site both serve pages out, and I can manage them using the IIS Management tool without any apparent errors. &lt;/p&gt;&lt;p&gt;The default site consists of the default page and AppPool, the secondary site has its own AppPool and a single &amp;quot;test me&amp;quot; index.html page.&lt;/p&gt;&lt;p&gt;One data point that might be pertinent is that we originally experimented using Shared config to point both servers to a UNC path, but disabled it after testing in favor of using MSDeploy to synchronize the servers. At the time we used Shared Config, it was only the default site - we hadn&amp;#39;t added the second site yet. Perhaps Shared Config introduced something to the XML that MSDeploy doesn&amp;#39;t like.&lt;/p&gt;&lt;p&gt;I&amp;#39;ll try nuking and reinstalling from scratch. I just wanted to make sure I wasn&amp;#39;t missing something syntactically or procedurally.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: 800900005</title><link>http://forums.iis.net/thread/1907920.aspx</link><pubDate>Mon, 22 Jun 2009 22:37:38 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907920</guid><dc:creator>richma</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907920.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907920</wfw:commentRss><description>&lt;p&gt;Any time I have seen this the site or config for that site does in fact have invalid data or xml or something to that effect.&lt;/p&gt;
&lt;p&gt;Can you manage this site within IIS&amp;nbsp; ?&lt;/p&gt;
&lt;p&gt;does this source web serve content when browsing ?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>800900005</title><link>http://forums.iis.net/thread/1907901.aspx</link><pubDate>Mon, 22 Jun 2009 17:36:50 GMT</pubDate><guid isPermaLink="false">50bcf3b4-f6fe-4638-adff-0c150e922e99:1907901</guid><dc:creator>ksanders99</dc:creator><slash:comments>0</slash:comments><comments>http://forums.iis.net/thread/1907901.aspx</comments><wfw:commentRss>http://forums.iis.net/commentrss.aspx?SectionID=1144&amp;PostID=1907901</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was able to sync the content directory and create the app pool using msdeploy, but when I try to create the website definition, I get:&lt;/p&gt;&lt;p&gt;Error:&amp;nbsp; An error occurred when committing changes to the IIS Configuration System. The identity performing the operation was &amp;#39;IISServer5\Administrator&amp;#39;.&lt;/p&gt;&lt;p&gt;Error:&amp;nbsp; Bad Data. (Exception from HRESULT: 0x80090005)&lt;/p&gt;&lt;p&gt;Error count: 1&lt;/p&gt;&lt;p&gt;I get this regardless of whether I&amp;#39;m logged in with a domain account with administrative privs or the local Admin account.&amp;nbsp; Here&amp;#39;s the output of -debug:&lt;/p&gt;&lt;p&gt;&amp;nbsp; C:\&amp;gt;&amp;quot;c:\program files\iis\microsoft web deploy\msdeploy&amp;quot; -verb:sync -source:apph&lt;br /&gt;ostconfig=&amp;quot;test.somesite.com&amp;quot;,computerName=IISServer4.com -dest:apphostConfig=&amp;quot;test.somesite.com&amp;quot; -debug&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Action: Adding MSDeploy.appHostConfig (MSDeploy.appHostConfig)&lt;br /&gt;Action: Adding appHostConfig (test.somesite.com)&lt;br /&gt;Action: Adding child binding (MSDeploy.appHostConfig/appHostConfig[@path=&amp;#39;test.s&lt;br /&gt;omesite.com&amp;#39;]/site[@name=&amp;#39;test.somesite.com&amp;#39;]/bindings/binding)&lt;br /&gt;Action: Adding child application (MSDeploy.appHostConfig/appHostConfig[@path=&amp;#39;te&lt;br /&gt;st.somesite.com&amp;#39;]/site[@name=&amp;#39;test.somesite.com&amp;#39;]/application[@path=&amp;#39;/&amp;#39;]&lt;br /&gt;)&lt;br /&gt;Action: Adding child virtualDirectory (MSDeploy.appHostConfig/appHostConfig[@pat&lt;br /&gt;h=&amp;#39;test.somesite.com&amp;#39;]/site[@name=&amp;#39;test.somesite.com&amp;#39;]/application[@path&lt;br /&gt;=&amp;#39;/&amp;#39;]/virtualDirectory[@path=&amp;#39;/&amp;#39;])&lt;br /&gt;Microsoft.Web.Deployment.DeploymentException: An error occurred when committing&lt;br /&gt;changes to the IIS Configuration System. The identity performing the operation w&lt;br /&gt;as &amp;#39;IISServer5\Administrator&amp;#39;. ---&amp;gt; System.Runtime.InteropServices.COMExcept&lt;br /&gt;ion (0x80090005): Bad Data. (Exception from HRESULT: 0x80090005)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.AppHostWritableAdminManager.CommitChanges()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.AdminManagerWrapper.CommitChangesWithException(IA&lt;br /&gt;ppHostWritableAdminManager adminManager)&lt;br /&gt;&amp;nbsp;&amp;nbsp; --- End of inner exception stack trace ---&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.AdminManagerWrapper.CommitChangesWithException(IA&lt;br /&gt;ppHostWritableAdminManager adminManager)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.AdminManagerWrapper.CommitChanges(DeploymentCommi&lt;br /&gt;tContext commitContext)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentCommitContext.CommitChanges(DeploymentS&lt;br /&gt;yncOptions syncOptions, DeploymentBaseContext baseContext)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject&lt;br /&gt;destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, Conten&lt;br /&gt;tRootTable contentRootTable)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions&lt;br /&gt;&amp;nbsp;providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncO&lt;br /&gt;ptions)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MSDeploy.MSDeploy.Execute()&lt;br /&gt;&amp;nbsp;&amp;nbsp; at MSDeploy.MSDeploy.Main(String[] unusedArgs)&lt;br /&gt;Error count: 1&lt;/p&gt;&lt;p&gt;&amp;nbsp;This was the result of a &amp;quot;pull&amp;quot; from the destination server. A Push from the source server delivers the same error message.&amp;nbsp; I also get the same message if I use the metakey: method.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>