locked
Error: Server collection cannot be empty RRS feed

  • Question

  • hi all

    i have my app.config as follow:

    ---------Begin---------------

    <?xml version="1.0"?>
    <configuration>
        <configSections>
          <section name="dataCacheClient" type="Microsoft.ApplicationServer.Caching.DataCacheClientSection,
            Microsoft.ApplicationServer.Caching.Core, Version=1.0.0.0,
            Culture=neutral, PublicKeyToken=31bf3856ad364e35" allowLocation="true" allowDefinition="Everywhere"/>
        </configSections>
      <dataCacheClient requestTimeout="50000" channelOpenTimeout="3000" maxConnectionsToServer="30">
        <hosts>
          <host name="dungnt" cachePort="22233"/>
        </hosts>
        
        <transportProperties connectionBufferSize="1310720" maxBufferPoolSize="1048576000" maxBufferSize="524288000" maxOutputDelay="2" channelInitializationTimeout="60000" receiveTimeout="600000"/>
      </dataCacheClient>  
        <system.serviceModel>
            <bindings/>
            <client/>
        </system.serviceModel>
        <startup>

              <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>

          </startup>

    </configuration>

    ---------End---------------

    I 've got error "Server collection cannot be empty" while reading configuration.

    please help me

    Thursday, October 8, 2015 7:24 AM