Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Althoug it didn't solve my problem, I just wanted to share the right way of adding enableParentPaths right way.</p> <p>I guess this following part, since it is not enclosed by "location path='Website name'", is valid for whole asp.net projects:</p> <pre><code>&lt;system.webServer&gt; &lt;serverRuntime /&gt; &lt;asp enableParentPaths="true" scriptErrorSentToBrowser="true"&gt; &lt;cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /&gt; &lt;limits /&gt; &lt;/asp&gt; &lt;caching enabled="true" enableKernelCache="true"&gt; &lt;/caching&gt; &lt;cgi /&gt; &lt;defaultDocument enabled="true"&gt; &lt;files&gt; &lt;add value="Default.htm" /&gt; ... ... ... </code></pre> <p>If enableParentPaths or any other option is wanted to be added just for a specific website, we have to run that code on the command prompt:</p> <pre><code>appcmd.exe set config "Website Name" -section:system.webServer/asp /enableParentPaths:"False" /commit:apphost </code></pre> <p>Since I somehow didn't have "location" section specific for my project, this command added up the following section by at the end of my applicationhost.config.</p> <pre><code>&lt;/location&gt; &lt;location path="Medical_BootStrap"&gt; &lt;system.webServer&gt; &lt;asp appAllowClientDebug="true" appAllowDebugging="true" errorsToNTLog="true" enableParentPaths="true" scriptErrorSentToBrowser="true" bufferingOn="true"&gt; &lt;session allowSessionState="true" /&gt; &lt;cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" /&gt; &lt;limits /&gt; &lt;/asp&gt; &lt;/system.webServer&gt; &lt;/location&gt; </code></pre> <p>I thought it would be useful for the ones who want to add it right way just for the necessary website.</p>
    singulars
    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.
    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