title: IIS 8 & Plesk web.config to enable parent paths and error reporting
body: <p>I'm moving a classic ASP site from shared hosting IIS 6 site to shared IIS 8 host that uses Plesk, so the only control of IIS is via a few settings in Plesk, or web.config.</p>
  
  <p>Plesk has settings to enable ASP support (which I have done) and ASP.NET support (tried enabled and disabled, but this is classic ASP so should not matter).</p>
  
  <p>I have been unable to get enableParentPaths to work.  I also cannot get detailed errors displayed.  My initial web.config probably has stuff only relevant to ASP.NET, but I have been trying all sorts of suggestions from forums.  I would love to simplify.  I just want classic ASP with ParentPaths and (temporarily) detailed error reporting.  </p>
  
  <p>UPDATE.  GoDaddy Tech Support suggested a simpler web.config that allowed me to see detailed errors.  They do not know how to enable Parent Paths, but those are not always a good idea and it was easy enough to manually change /../../filename to a full path, so the migration to IIS 8 with Plesk is complete.</p>
  
  <p>Here is the web.config that allows me to see detailed errors during debugging:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
      &lt;system.webServer&gt;
          &lt;httpErrors errorMode="Detailed" /&gt;
      &lt;/system.webServer&gt;
      &lt;system.web&gt;
          &lt;customErrors mode="Off" /&gt;
          &lt;compilation debug="true" /&gt;
      &lt;/system.web&gt;
  &lt;/configuration&gt; 
  </code></pre>
  
  <p>This was the version that did not work:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
  &lt;location path="mydomain.com" overrideMode="Allow"&gt;  
    &lt;system.webServer&gt;
      &lt;httpErrors errorMode="Detailed" existingResponse="PassThrough" /&gt;      
      &lt;asp enableParentPaths="true" appAllowDebugging="true" scriptErrorSentToBrowser="true"&gt;
          &lt;session keepSessionIdSecure="false" /&gt;
      &lt;/asp&gt;
    &lt;/system.webServer&gt;
    &lt;system.web&gt;
      &lt;customErrors mode="Off" /&gt;
      &lt;compilation debug="true" /&gt;
      &lt;authentication mode="None" /&gt;
      &lt;trust level="Full" /&gt;
    &lt;/system.web&gt;
  &lt;/location&gt;
  &lt;/configuration&gt; 
  </code></pre>