an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Sub Application Separation code in web.config
Last Post 1/12/2012 2:41:13 PM By Bahram. 2 replies.
1/11/2012 11:33:44 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Sub Application Separation code in web.config
 
I need to add this linke to web.config for seperation of a App from the DSC Store :
 
<location path="." inheritInChildApplications="false">
  <system.web>
    <!-- ... -->
  </system.web>
</location>
but currently the web.config has this vlaue path="EditBlockControl.aspx" 
 
Is there any side effect if I remove the first or use the two of them.
 
 
 
1/12/2012 10:51:34 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Sub Application Separation code in web.config
No, you should be fine to add more than just one entry.
DotShoppingCart Staff
1/12/2012 2:41:13 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Sub Application Separation code in web.config
Hi Luke,
 
This is an issue that even ASP MVPs and Gurus on the forums do not know well about.
 
How can we isolate an application under DSC. i.e. I have an Application ( i.e Chat ) that has its own web.config and sql provider. but the Parent web.config file is compiled first. and is the Applove code be at the first  line of configuration. it generate errors. Do you have an idea. or I need to use this Application as a seperate website.
 
Thanks