Modifying the Management Service Web.config File

Find the following sections in the Management Service Web.config file, and then, if necessary, modify the highlighted lines of code. In this example, the following lines of code are highlighted:

  • In the CONNECTION STRINGS section, three instances of connectionString=”Server=CS1157-E0406 are highlighted.
  • In the DCS SERVICEMODEL section, dnsAlias="CS1157-E0406 and address=https://CS1157-E0406/DiscoveryService/DiscoveryService.svc are highlighted.
<!--  CONNECTION STRINGS
   =============================================================
  -->
  <connectionStrings>
    <!--  common connection strings -->
    <add name="DCSManagementDb" connectionString="Server=CS1157-E0406;Initial Catalog=DCSManagementDB;Integrated Security=Yes;" providerName="System.Data.SqlClient"/>
    <add name="discoveryConfiguration" connectionString="Server=CS1157-E0406;Initial Catalog=Discovery;Integrated Security=Yes;" providerName="System.Data.SqlClient"/>
    <add name="policyConfiguration" connectionString="Server=CS1157-E0406;Initial Catalog=ServiceConfiguration;Integrated Security=Yes;" providerName="System.Data.SqlClient"/>
</connectionStrings>

<!--  DCS SERVICEMODEL
   =============================================================
  -->
  <cis.serviceModel>
    <serviceFactory>
      <httpBaseAddress dnsAlias="CS1157-E0406"/>
      <defaultServiceConfiguration serviceBehavior="DCSBehavior">
        <defaultEndpoint behaviorConfiguration="enableTracing">
          <defaultSimplexBinding binding="extendedHttpBinding" bindingConfiguration="simplex"/>
          <defaultDuplexBinding binding="extendedHttpBinding" bindingConfiguration="duplex"/>
        </defaultEndpoint>
      </defaultServiceConfiguration>
    </serviceFactory>
<channelFactory>
<discoveredEndpoint compositeBaseAddress="" behaviorConfiguration="enableTracing" useDefaultWebProxy="false"/>
<mexDiscoveryEndpoint address="https://CS1157-E0406/DiscoveryService/DiscoveryService.svc" binding="basicHttpBinding" bindingConfiguration="discovery"/>
<scopeRanking type="Microsoft.ConnectedIndustry.ServiceModel.Application.ScopeRanking,Microsoft.ConnectedIndustry.ServiceModel.Application,Version=1.0.0.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</scopeRanking>
<scopeProvider type="Microsoft.ConnectedIndustry.ServiceModel.Application.ScopeProvider,Microsoft.ConnectedIndustry.ServiceModel.Application,Version=1.0.0.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35">
</scopeProvider>
</channelFactory>
  </cis.serviceModel>