My Account Pages(Login, Registration, etc.) are using the Site.Master of the root directory. Since Parent Paths are disabled by default(?) I get the following famous error:
Cannot use a leading .. to exit above the top directory.
I have found a very promising solution on stackoverflow but didn't work for me
Here is the regarding part:
<system.webServer>
<serverRuntime />
<asp
enableParentPaths="true"
scriptErrorSentToBrowser="true">
<cache diskTemplateCacheDirectory="%TEMP%\iisexpress\ASP Compiled Templates" />
<limits />
</asp>
<caching enabled="true" enableKernelCache="true">
</caching>
<cgi />
<defaultDocument enabled="true">
<files>
<add value="Default.htm" />
...
...
...
Do you have any other suggestions? I am googling it since hours but couldn't find anything useful. Actually If I create a separate Master Page for the Account Pages then I don't get any error since It doesn't try to go to upper directory but I don't need any other Master page and think there should be a more appropriate solution.