1) Try the latest weekly build (currently 3.0.5207.0) of WiX to see if it fixes 
your problem. A *lot* has been fixed in the IIS custom actions since the 
particular build you're using.
2) If it still reproduces with the latest weekly build, enable verbose logging 
by policy (search around for the "voicewarmup" regkey you need to set), and 
re-run the install. Writemetabasechanges should display more information in the 
log, which will help to diagnose the issue.
3) What OS are you installing the MSI on? This too can help diagnose the issue.

Thanks,
Mike Carlson

-----Original Message-----
From: paul.bern...@fmr.com [mailto:paul.bern...@fmr.com] 
Sent: Wednesday, April 08, 2009 4:22 PM
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] WriteMetabaseChanges: Error 0x80070057: failed to create 
web application: /Root/MyWebSite

Using: WiX: 3.0.4805.0

Can't seem to get past the following error: 
WriteMetabaseChanges:  Error 0x80070057: failed to create web application: 
/Root/MyWebSite

any help welcome...


      <iis:WebSite Id='DefaultWebSite' Description='Default Web Site'> 
        <iis:WebAddress Id='AllUnassigned' Port='80' IP="*"/> 
      </iis:WebSite> 
....  

         <iis:WebVirtualDir Id="MyWebSiteVirtualDir" Alias="MyWebSite" 
                               Directory="MyWebSiteDir" 
                               WebSite="DefaultWebSite"> 
              
              <iis:WebApplication Id="MyWebSiteApp" Name="MyWebSiteApp" 
Isolation="low"/> 
             
            </iis:WebVirtualDir>



MSI (s) (68:2C) [17:37:31:131]: Executing op: 
ActionStart(Name=WriteMetabaseChanges,Description=Installing Metabase Keys and 
Values,)

MSI (s) (68:2C) [17:37:31:131]: Executing op: 
CustomActionSchedule(Action=WriteMetabaseChanges,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)

MSI (s) (68:2C) [17:37:31:162]: Creating MSIHANDLE (184) of type 790536 for 
thread 1324 
MSI (s) (68:28) [17:37:31:162]: Invoking remote custom action. DLL: 
C:\WINDOWS\Installer\MSIB3FA.tmp, Entrypoint: WriteMetabaseChanges

MSI (s) (68!14) [17:37:31:396]: Creating MSIHANDLE (185) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:396]: Closing MSIHANDLE (185) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:396]: Creating MSIHANDLE (186) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:396]: Closing MSIHANDLE (186) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:396]: Creating MSIHANDLE (187) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:396]: Closing MSIHANDLE (187) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:412]: Creating MSIHANDLE (188) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:412]: Closing MSIHANDLE (188) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:412]: Creating MSIHANDLE (189) of type 790531 for 
thread 5140 
WriteMetabaseChanges:  Error 0x80070057: failed to create web application: 
/Root/MyWebSite 
MSI (s) (68!14) [17:37:31:412]: Closing MSIHANDLE (189) of type 790531 for 
thread 5140 
MSI (s) (68!14) [17:37:31:412]: Creating MSIHANDLE (190) of type 790531 for 
thread 5140 
MSI (c) (10:A4) [17:37:31:427]: Font created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to