How to include a virtual application within an Umbraco site
I've been asked to include another MVC site as a sub-application of an Umbraco site, i.e. URL
This seems to be impossible because of web.config inheritance. Nothing I've tried to fix this works.
The virtual application is running under a different application pool.
I've tried setting enableConfigurationOverride="false" on this application pool in applicationHost.config
I've tried adding <location path="." inheritInChildApplications="false"> to various places in the Umbraco web.config but I just get various errors about assemblies not being loaded.
One thing you will need to do is add the directory to the main web.config - this may not solve your issues, but at least it will prevent Umbraco from trying to take control of your virtual app.
Within the Umbraco web.config find the "umbracoReservedPaths" appSetting and add the directory for the virtual app.
As I said it might not solve your issues but you might get a step further down the path toward success.
How to include a virtual application within an Umbraco site
I've been asked to include another MVC site as a sub-application of an Umbraco site, i.e. URL
This seems to be impossible because of web.config inheritance. Nothing I've tried to fix this works.
The virtual application is running under a different application pool.
I've tried setting enableConfigurationOverride="false" on this application pool in applicationHost.config
I've tried adding <location path="." inheritInChildApplications="false"> to various places in the Umbraco web.config but I just get various errors about assemblies not being loaded.
Is this actually impossible?
Hey Mark
One thing you will need to do is add the directory to the main web.config - this may not solve your issues, but at least it will prevent Umbraco from trying to take control of your virtual app.
Within the Umbraco web.config find the "umbracoReservedPaths" appSetting and add the directory for the virtual app.
As I said it might not solve your issues but you might get a step further down the path toward success.
Cheers, Nigel
Late to the party, but in Umbraco 8 I added the following in the virtual application web.config:
And in the umbraco web.config added the location and umbracoReservedPaths as noted above. It worked for me :)
is working on a reply...