Configuration Error

Oct 28, 2008 at 5:34 PM
Welcome,

I'm trying to configure client-side Replicated Cache. Unfortunately, every attempt to run application ends this error:

"
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized element 'clientSetting'.
"

WHY ????

My config file:

<?xml version="1.0"?>
<configuration>
 
    <configSections>
        <section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/>
        <section name="indexusNetSharedCache" type="MergeSystem.Indexus.WinServiceCommon.Configuration.Client.IndexusProviderSection, MergeSystem.Indexus.WinServiceCommon"/>
    </configSections>
    <appSettings>
        <add key="SharedCacheVersionNumber" value="2.0.0.140"/>
        <add key="LoggingEnable" value="1"/>
        <add key="ServiceCacheIpAddress" value="127.0.0.1"/>
        <add key="ServiceCacheIpPort" value="48888"/>
        <add key="CompressionEnabled" value="0"/>
        <add key="CompressionMinSize" value="10240"/>
    </appSettings>
    <indexusNetSharedCache defaultProvider="IndexusSharedCacheProvider">
    <servers>
      <add key="WebSrv10" ipaddress="192.168.0.120" port="48888" />
    </servers>
    <replicatedServers>
      <add key="WebSrv20" ipaddress="192.168.0.121" port="48888" />
    </replicatedServers>
        <providers>
            <add name="IndexusSharedCacheProvider" type="MergeSystem.Indexus.WinServiceCommon.Provider.Cache.IndexusSharedCacheProvider, MergeSystem.Indexus.WinServiceCommon">
            </add>
        </providers>
    </indexusNetSharedCache>
    <nlog autoReload="true" throwExceptions="true">
    <connectionStrings/>
    <system.web>
        <compilation debug="true" urlLinePragmas="true">
            <assemblies>
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
                <add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                <add assembly="System.Runtime.Serialization.Formatters.Soap, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>                </compilation>
        <authentication mode="Windows"/>
            <customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
              <error statusCode="403" redirect="NoAccess.htm" />
              <error statusCode="404" redirect="FileNotFound.htm" />
            </customErrors>

          </system.web>
</configuration>

"Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized element 'replicatedServers'.
Oct 28, 2008 at 6:13 PM
hi,

which version do you use?
latest download / last release / previous release?

regards, roni
Oct 28, 2008 at 6:22 PM
2.0.3.270 (2.0.3.270_inst_rel_release.zip)
Oct 28, 2008 at 7:12 PM
any chance you gone use latest version from: http://www.codeplex.com/SharedCache/SourceControl/ListDownloadableCommits.aspx this is next release candiate and we use it already in production in various projects.

regards,
roni    
Oct 29, 2008 at 4:01 PM
works fine :))) thx