-1

I refereed few links and tried to create a virtual app and but still non-Sitecore app is referring to Sitecore root web.config file.

dev
  • 31
  • 4
  • 1
    Is your non-sitecore site using a sub-domain name of the sitecore site? If yes, you can define that in IIS, pointing the subdomain to a new folder location. – Adrian Iorgu Jul 13 '16 at 15:12
  • Yes, i have tried creating sub-domain. but the non-sitecore site is referring to root web.config. My subdomain site has it own web.config. I want to use that. Any suggestions? – dev Jul 13 '16 at 15:21
  • You need to look at Application Request Routing: http://www.iis.net/downloads/microsoft/application-request-routing – jammykam Jul 13 '16 at 15:43
  • 1
    Sounds like you are trying to setup a child application under Sitecore website in IIS. In this case, if you don't apply inheritance configuration correctly, you'll face the issue when child application uses configuration defined in the parent (Sitecore) web.config. This post should help you with the right configuration: [link](http://stackoverflow.com/questions/4144117/nested-asp-net-application-within-iis-inheriting-parent-config-values) – Vladimir Jul 13 '16 at 16:36
  • @Vladimir I'm pretty sure your comment answers the question. – Dmytro Shevchenko Jul 14 '16 at 13:35

1 Answers1

0

Sounds like you are trying to setup a child application under Sitecore website in IIS. In this case, if you don't apply inheritance configuration correctly, you'll face the issue when child application uses configuration defined in the parent (Sitecore) web.config. This post should help you with the right configuration: link

Community
  • 1
  • 1
Vladimir
  • 314
  • 1
  • 8