Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This might be a bit late since you already rebuilt the server, but I was getting this exact same error.</p> <p>The ultimate cause of the error was the apppool was using the wrong version of .NET for my application. I solved it by assigning the application it's own app pool instead of using the default app pool on the server. You probably set the default apppool on your server to the version that your application required and that is why it worked in the end.</p> <pre><code>&lt;Directory Id='WebAppFiles' Name='WebApp'&gt; &lt;!-- The component to define the Virtual Directory.--&gt; &lt;Component Id="WebVirtualDirApp" Guid="your-guide-goes-here"&gt; &lt;!-- The virtual directory we are installing. --&gt; &lt;!-- The Alias attribute is the name thata will be put into IIS.--&gt; &lt;!-- The Directory attribute is the "Physical Path" property in IIS and needs to tie to an ID specified in the setup. --&gt; &lt;!-- The WebSite attribute ties to a &lt;WebSite&gt; element in the setup file. As this is an example of installing into the "Default Web Site" that element is not under a component.--&gt; &lt;iis:WebAppPool Id="YourWebAppPoolId" Name="YourWebAppPool" ManagedRuntimeVersion="v2.0" /&gt; &lt;iis:WebVirtualDir Id="VDirApp" Alias="[VDIRNAME]" Directory="WebAppFiles" WebSite="DefaultWebSite"&gt; &lt;!-- Turn the Virtual Directory into a web application. --&gt; &lt;iis:WebApplication Id="TheWebApplication" WebAppPool="YourWebAppPoolId" Name="[VDIRNAME]" /&gt; &lt;/iis:WebVirtualDir&gt; &lt;!-- This is pretty important. If the CreateFolder isn't there the WebVirtualDir won't get created as there's no files in this component. http://www.mail-archive.com/wix-users@lists.sourceforge.net/msg03483.html --&gt; &lt;CreateFolder/&gt; &lt;/Component&gt; &lt;/Directory&gt; </code></pre>
    singulars
    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.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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