an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > Documentation > Online Help > Installation > Configure OrderPipeline to work against multipl...
Configure OrderPipeline to work against multiple sites
If you have a server license and want to use one instance of OrderPipeline to work against muliple sites. Here is how you configure it.
 
 
 Find DotShoppingCart.Commercial.OrderPipelineService.exe.config in Install\OrderPipeline folder
 
1) Remove connectionString section
 
    <connectionStrings>
        <add name="dsc" connectionString="Data Source=localhost;Initial Catalog=dotshoppingcart.public;Integrated Security=SSPI;" providerName="System.Data.SqlClient" />
    </connectionStrings>

 
 
2) Update DSC section 
 
change
 
    <dscConfiguration>
        <DSC>
            <add name="SiteConfigurationController" value="DotShoppingCart.Commercial.Base.DSCSiteConfigurationController"/>
 
to

    <dscConfiguration>
        <DSC>
            <add name="SiteConfigurationController" value="DotShoppingCart.Commercial.Base.DSCMultiSiteConfigurationController"/>
 
3) Update enterpriseLibrary.ConfigurationSource section 
 
change
 
    <enterpriseLibrary.ConfigurationSource selectedSource="System Configuration Source">
        <sources>
            <add name="SiteConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" filePath="..\..\Web\DSC.config" />
 
 
to
 
    <enterpriseLibrary.ConfigurationSource selectedSource="System Configuration Source">
        <sources>
          <add name="site1" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" filePath="C:\DSCSuite\Web\web.config" />
          <add name="site2" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" filePath="C:\DSCSuite2\Web\web.config" />

 
C:\DSCSuite\Web\web.config and C:\DSCSuite2\Web\web.config are the web.config file locations of your sites.
More Resources
Quick Links