First a flippant answer, us a VM to test installs then you can simply rollback to a know good state. Having said that, I have screwed up IIS several times! There are 2 options if you are lucky the IIS metabase has been backed up and you can restore it in the IIS manager. Second, I have uninstalled IIS and reinstalled it and that seems to fix it.
Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] ________________________________ From: [EMAIL PROTECTED] on behalf of Christophe Laumond Sent: Mon 02/06/2008 09:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Failed to read IIsWebSite table hello Rob, Thanks you very much for your feedback. Now that the IIS metadata are "messed up", any idea how can I clean the metada so I can install / uninstall again ? Thanks in advance for your help Best regards, Christophe Rob Mensching wrote: > This sounds like the Properties for your ip:port:header is not found during uninstall. There are lots of discussions on the mailing list about how the Windows Installer does not persist Property values so you can use something like a registry key and a RegistrySearch to read it during uninstall. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christophe Laumond > Sent: Sunday, June 01, 2008 08:35 > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Failed to read IIsWebSite table > > Hello, > > I'm a newbie in Wix. > > I have an existing web application for which I try to create an msi file > using Wix. > the first msi I have produced was based on the sample found at : > http://davesquared.blogspot.com/2007/08/example-of-deploying-web-apps-us ing-wix.html > and it worked like a charm ! > The msi file has been correctly built and I have installed the > application through "double-click". > The web application was deployed on IIS without any error. > > Then I uninstall using the msi file, did a small change in the wix > source file, built again, install using double-click : > I got the error "Failed to read IIsWebSite table" :( > > As if the install / uninstall process broke something... > > I tried aspnet_regiis -u \ aspnet_regiis -i for .NET framework 2.0; > removing II6 compatibility features, and installing them again; > but it didn't changed anything. > > Following the post on the forum > IIS extension failed on Vista SP1. > http://sourceforge.net/mailarchive/forum.php?thread_name=b5927a150805300 828h43b2581bqa92119d57c4a2620%40mail.gmail.com&forum_name=wix-users > > I used the console running in administrator mode, and it worked again. > I have been able to install / change / uninstall several times. > > The I tried the following snippet from > http://www.strangelights.com/blog/archive/2004/10/08/179.aspx : > <iis:WebSite Id="DefaultWebSite" Description="[WEBSITENAME]"> > <iis:WebAddress Id="WebsiteIdentity" Port="[WEBSITEPORT]" > Header="[WEBSITEHEADER]" IP="[WEBSITEIP]" /> > </iis:WebSite> > > Once again, I got the error message "Failed to read IIsWebSite table" :( > > I revert back to the previous WebSite tag : > <iis:WebSite Id='DefaultWebSite' Description='Default Web Site'> > <iis:WebAddress Id='AllUnassigned' Port='80' /> > </iis:WebSite> > > But it has definitely stopped to work :( > > I would be gratefull if you can help me for solving this issue. > > Thanks in advance for your feedback > > Best regards, > Christophe > > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users