November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
In the child virtual folder wrap the <system.web> and <system.webServer> elements as follows:
<location path="." inheritInChildApplications="false">
<system.web>
<!-- ... -->
</system.web>
</location>
<location path="." inheritInChildApplications="false">
<system.webServer>
<!-- ... -->
</system.webServer>
</location>
This should stop you inheriting settings from the parent application.
Thanks for your response David. I tried your suggestion but unfortunately it didn't work.
Do you mean add the lines of code you suggested in the web.config of the EPiServer site, or the virtual folder site? And I assume I should replace path="." with path="myvirtualfolderpath"?
I've just realised I was wrapping the location tag around the system.web and system.webServer in the wrong area of the web.config.
I've placed it in the correct area now and it works! Thanks David.
Hi, I'm having the same issue right now.
Could anyone please tell me how this should be wrappet into web.config?
I would really appreciate.
Thanx.
Hi,
I have an EPiServer CMS 6 R2 site running fine in IIS 7. However I wish to add another web application as a virtual directory within that EPiServer site in IIS.
I have ensured that the path to this virtual directory is excluded by EPiServer in the URLRewriter. When I try to hit the URL of the web application I have added, I get the following error:
CS1519: Invalid token ',' in class, struct, or interface member declaration
Has anyone ever managed to successfully add a web application as a virtual directory of an EPiServer site in IIS before?
Thanks.