Does your website have a component associated with it? The log sounds as though you're using a website locator record (which is simply a website with no associated component), and the website it's trying to locate on the machine doesn't exist (in which case the install is intended to fail). If you want the website to be created if it doesn't exist, the website must be associated with a component.
Thanks, Mike Carlson -----Original Message----- From: troy hostetter [mailto:troy.hostet...@gmail.com] Sent: Wednesday, July 01, 2009 11:54 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create web application Mike - Installed version 3.0.5419, built msi, and am now getting this error during install: Action 18:36:40: StartMetabaseTransaction. Starting IIS Metabase Transaction Action 18:36:40: RollbackMetabaseTransaction. Rolling back IIS Metabase Transaction Action 18:36:40: CommitMetabaseTransaction. Committing IIS Metabase Transaction Action 18:36:40: ConfigureIIsExec. ConfigureIIsExec: A matching web object in memory was found, but the web object in memory has no associated base ConfigureIIsExec: Error 0x80070002: Failed to find Web base ConfigureIIsExec: Error 0x80070002: Failed to get base of web: WS__kCTools.WebServices for VirtualDir ConfigureIIsExec: Error 0x80070002: failed while processing WebVirtualDirs Error 26004. Failed while processing WebVirtualDirs. (-2147024894 ) MSI (s) (78!98) [18:37:50:712]: Product: kCTools (64 bit) -- Error 26004. Failed while processing WebVirtualDirs. (-2147024894 ) Action ended 18:37:50: InstallFinalize. Return value 3. Action 18:37:50: Rollback. Rolling back action: Rollback: ConfigureIIsExec Rollback: Committing IIS Metabase Transaction Rollback: Rolling back IIS Metabase Transaction Rollback: Starting IIS Metabase Transaction Rollback: Copying new files Rollback: Creating folders Rollback: Deleting services Rollback: Stopping services Rollback: Updating component registration Action ended 18:38:07: INSTALL. Return value 3. Thanks, - Troy On Wed, Jul 1, 2009 at 12:51 PM, Mike Carlson (DEV DIV) < mica...@microsoft.com> wrote: > A *lot* has changed in the IIS custom actions since WiX v3.0.4805, > including an error that looks very similar to this. First, I would upgrade > to the latest WiX 3.0 build (v3.0.5419) and see if you still have a problem > after that. > > Thanks, > Mike Carlson > > -----Original Message----- > From: troy hostetter [mailto:troy.hostet...@gmail.com] > Sent: Wednesday, July 01, 2009 9:31 AM > To: General discussion for Windows Installer XML toolset. > Subject: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to > create web application > > We are getting the following error and are not sure why. We have been > successful at creating virtual directories in several other environments > (development, integration, etc.), however the environment we are currently > deploying to is having issues :( > > Action 14:41:11: StartMetabaseTransaction. Starting IIS Metabase > Transaction > Action 14:41:11: RollbackMetabaseTransaction. Rolling back IIS Metabase > Transaction > Action 14:41:11: CommitMetabaseTransaction. Committing IIS Metabase > Transaction > Action 14:41:11: WriteMetabaseChanges. Installing Metabase Keys and Values > WriteMetabaseChanges: Error 0x80070057: failed to create web application: > /Root/SecurityAutomation > Error 26105. Failed to create web application. (-2147024809 > /Root/SecurityAutomation ) > MSI (s) (CC!30) [15:56:04:702]: Product: kCTools (64 bit) -- Error 26105. > Failed to create web application. (-2147024809 > /Root/SecurityAutomation ) > > WriteMetabaseChanges: Error 0x80070057: failed to create ASP App > Action ended 15:56:04: InstallFinalize. Return value 3. > Action 15:56:04: Rollback. Rolling back action: > Rollback: Installing Metabase Keys and Values > Rollback: Committing IIS Metabase Transaction > Rollback: Rolling back IIS Metabase Transaction > Rollback: Starting IIS Metabase Transaction > Rollback: Copying new files > Rollback: Creating folders > Rollback: Deleting services > Rollback: Stopping services > Rollback: Updating component registration > Action ended 15:56:22: INSTALL. Return value 3. > > Here is our WiX IIS settings: > > <iis:WebAppPool Id="WAP__kCTools.ApplicationPool.Uber" > Name="[kCTools.ApplicationPool.Name.Uber]" /> > <iis:WebSite Id="WS__kCTools.WebServices" > Description="[kCTools.WebServices.WebSite]"> > <iis:WebAddress Id="WA__kCTools.AllUnassigned" > Port="[kCTools.WebServices.Port]" Header="[kCTools.WebServices.Header]" /> > </iis:WebSite> > > The IIS Web site on which we are creating the virtuals exists. We are able > to manually create virtuals. The local hosts file is set to resolve the > WebSite name we want to create our virtual on. We are passing in the above > MSI properties via a mst file, and have verified they exist and are > properly > set. > > We are using WiX version 3.0.4805. > > Any ideas about what else we may consider looking at? > > - Troy > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users