Note that there are some explanatory texts on larger screens.

plurals
  1. POWix 3.5 & IIS7 - WriteIIS7ConfigChanges Failed - Whilst attempting to install three web applications as virtual directories to default website
    primarykey
    data
    text
    <p>I'm hoping somebody could perhaps help me with a problem I'm experiencing using <strong>Wix 3.5.2519.0</strong> on a <strong>Windows Server 2008</strong> with the <strong>IIS7</strong> &amp; <strong>IIS6 Compatibility</strong> features installed.</p> <h2>The MSI log file</h2> <p>We are encountering the following errors whilst attempting to define three virtual web application directories beneath the default web site, as recorded using the <code>/log &lt;filename&gt;</code> option of <code>msiexec.exe</code>:</p> <pre><code>Action 17:05:57: StartIIS7ConfigTransaction. Starting IIS Config Transaction Action 17:05:57: RollbackIIS7ConfigTransaction. Rolling back IIS Config Transaction Action 17:05:57: CommitIIS7ConfigTransaction. Committing IIS Config Transaction Action 17:05:57: ConfigureIIs7Exec. Configuring IIS ConfigureIIs7Exec: Error 0x800700b7: Failed get sites section ConfigureIIs7Exec: Error 0x800700b7: Failed to search for Website ConfigureIIs7Exec: Error 0x800700b7: Failed get sites section ConfigureIIs7Exec: Error 0x800700b7: Failed to search for Website ConfigureIIs7Exec: Error 0x800700b7: Failed get sites section ConfigureIIs7Exec: Error 0x800700b7: Failed to search for Website Action 17:05:57: WriteIIS7ConfigChanges. Installing Config Keys and Values WriteIIS7ConfigChanges: Error 0x800700b7: Failed get sites section WriteIIS7ConfigChanges: Error 0x800700b7: Failed to read sites from config WriteIIS7ConfigChanges: Error 0x800700b7: Failed to configure IIS application. WriteIIS7ConfigChanges: Error 0x800700b7: WriteIIS7ConfigChanges Failed. Action ended 17:05:57: InstallFinalize. Return value 3. Action 17:05:57: Rollback. Rolling back action: Rollback: Installing Config Keys and Values Rollback: Configuring IIS Rollback: Committing IIS Config Transaction Rollback: Rolling back IIS Config Transaction </code></pre> <h2>The Wix component declarations</h2> <p>There are three websites requiring installation, they are each declared with component xml syntax in the <code>wxs</code> file as follows (they're not identical but they're pretty close):</p> <pre><code>&lt;Component Id="DataServiceVirtualDir" Guid="9AC00BDC-D710-429f-B68B-8130DB17C90C"&gt; &lt;CreateFolder/&gt; &lt;iis:WebVirtualDir Id="OurApplicationDataService" Alias="OurApplicationDataService" Directory="DATASERVICEDIR" WebSite="OurApplicationDataService" DirProperties="OurApplicationDirProperties"&gt; &lt;iis:WebApplication Id="OurApplicationDataService" Name="OurApplicationDataService"&gt; &lt;/iis:WebApplication&gt; &lt;/iis:WebVirtualDir&gt; &lt;/Component&gt; </code></pre> <h2>The website declarations</h2> <p>Likewise, they are declared with the following <code>website</code> elements and supporting elements:</p> <pre><code>&lt;iis:WebSite Id="OurApplicationDataService" Directory="DATASERVICEDIR" Description="OurApplication Data Service"&gt; &lt;iis:WebAddress Id="AllUnassignedData" IP="*" Port="80"/&gt; &lt;/iis:WebSite&gt; &lt;iis:WebSite Id="OurApplicationSecurityService" Directory="SECURITYSERVICEDIR" Description="OurApplication Security Service"&gt; &lt;iis:WebAddress Id="AllUnassignedSecurity" IP="*" Port="80"/&gt; &lt;/iis:WebSite&gt; &lt;iis:WebSite Id="OurApplicationProcessingFacades" Directory="PROCESSINGFACADESDIR" Description="OurApplication Processing Facades"&gt; &lt;iis:WebAddress Id="AllUnassignedFacades" IP="*" Port="80"/&gt; &lt;/iis:WebSite&gt; &lt;iis:WebDirProperties Id="OurApplicationDirProperties" WindowsAuthentication="no" AnonymousAccess="yes" AnonymousUser="OurApplicationUserID" /&gt; &lt;iis:WebDirProperties Id="SecurityDirProperties" WindowsAuthentication="yes" AnonymousAccess="no" /&gt; </code></pre> <h2>Summary and conclusions so far</h2> <p>So this mysterious installer error, <code>0x800700b7</code>, appears to be screwing it all up. </p> <p>Interestingly, an earlier iteration of the installer installed fine, and uninstalled fine several times previously. However, now when attempting to uninstall the previous installer and install the new installer, the uninstallation fails with exactly the same errors, literally the failing part of the uninstallation log file is near identical to the log section above.</p> <p>If I copy the web application binaries into the desired installation directory and wire up a virtual directory manually via the IIS7 management console, it all works fine, and the websites respond to requests appropriately.</p> <p>As far as I can tell, the IIS7 website and target installation directories are all empty, blank and otherwise sanitised in preperation for the installation. </p> <p>Not much on Google about this one, I'm thinking I may just have to reinstall IIS7 on the box to see if it makes the problem go away, but that is the nuclear option so to speak.</p> <p>Anybody any ideas? </p> <p>Thanks in advance.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload