Make sure the IP, Port and Header all exactly match the website on the machine. 
These are the 3 things we use to determine if we've found the right website or 
not.

Thanks,
Mike Carlson

-----Original Message-----
From: troy hostetter [mailto:troy.hostet...@gmail.com] 
Sent: Wednesday, July 01, 2009 6:27 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to 
create web application

No .. it does not have an associated component.  The website does exist on
the server.  Here's what we have in the IIS metabase file .. so it does
exist:

<IIsWebServer    Location ="/LM/W3SVC/1438500861"
        AuthFlags="0"
        LogExtFileFlags="LogExtFileDate | LogExtFileTime |
LogExtFileClientIp | LogExtFileUserName | LogExtFileServerIp |
LogExtFileMethod | LogExtFileUriStem | LogExtFileUriQuery |
LogExtFileHttpStatus | LogExtFileWin32Status | LogExtFileBytesSent |
LogExtFileBytesRecv | LogExtFileTimeTaken | LogExtFileServerPort |
LogExtFileUserAgent"
        LogFileLocaltimeRollover="TRUE"
        LogFilePeriod="1"
        LogFileTruncateSize="20971520"
        LogPluginClsid="{FF160663-DE82-11CF-BC0A-00AA006111E0}"
        SSLCertHash="501969bd0101e2920f6410edf638a8059065e040"
        SSLStoreName="MY"
        SecureBindings="16.230.41.151:89:"
        ServerAutoStart="TRUE"
        ServerBindings="16.230.41.151:88:"
        ServerComment="webservice.sharepoint.com"
    >
</IIsWebServer>

My iis:WebSite and iis:WebAddress tags point to the ServerComment and port.

I recall seeing this suggestion on another post, however when i associate a
component to the locator record, it requires a Directory element and I am
unsure what value to place here.  Our web site is a root web site in IIS, on
which we want to create several virtual directories.

Ideally, we do not want to create a web site .. we only want to create
virtual directories.  A web site locator record should be all that we need.

- Troy

On Wed, Jul 1, 2009 at 3:23 PM, Mike Carlson (DEV DIV) <
mica...@microsoft.com> wrote:

> 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
>
------------------------------------------------------------------------------
_______________________________________________
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

Reply via email to