ErrorCode<ERRCA0019>:SubStatus<ES0001>:Check the client version. It should be within the allowed version range on the server. If necessary, upgrade the client to the allowed version.

Answered ErrorCode<ERRCA0019>:SubStatus<ES0001>:Check the client version. It should be within the allowed version range on the server. If necessary, upgrade the client to the allowed version.

  • Monday, January 09, 2012 7:09 AM
     
     

    I have implemented windows appfabric caching 1.1 in my ASP.NET web application running on Windows Server 2008 SP2 x64. My application pool is running on .NET 4.0. Following are the versions of appfabric dlls referrenced within my application :

    • Microsoft.ApplicationServer.Caching.Client.dll : ver 1.0.0.0
    • Microsoft.ApplicationServer.Caching.Core.dll : ver 1.0.0.0
    • Microsoft.WindowsFabric.Common.dll : ver 1.0.0.0
    • Microsoft.WindowsFabric.Date.Common.dll : ver 1.0.0.0

    Everything works fine with this setup. My next goal is to implement 'AppFabricCacheSessionStateProvider'. For that I require Microsoft.Web.DistributedCache.dll. However no such dll was installed on the server post appfabric installation (both client and server bits). I checked AppFabric install directory (C:\Windows\System32\AppFabric), which has all other caching dlls except for this one.

    Based on comments on other threads, I installed Windows Azure SDK and got the dll. Unfortunately its version is 101.0.0.0 and referrences the following :

    Microsoft.Web.DistributedCache.dll ver 101.0.0.0

    • Microsoft.ApplicationServer.Caching.Client.dll : ver 101.0.0.0
    • Microsoft.ApplicationServer.Caching.Core.dll : ver 101.0.0.0

    This means that the dll was built against higher versions of these caching dlls. This results in 2 issues :

    1. if i use Microsoft.Web.DistributedCache.dll inside my web application, it fails to find correct version of Microsoft.ApplicationServer.* dlls (it looks for ver 101.0.0.0 and finds version 1.0.0.0)
    2. if i update my web application to reference higher versions of those dlls (Microsoft.Web.DistributedCache.dll ver 101.0.0.0 referrencing Microsoft.ApplicationServer.* dlls ver 101.0.0.0), then the caching server fails with the above error.

    In short there is a mismatch here. So what I am looking for is the correct version of Microsoft.Web.DistributedCache.dll. I fail to understand why doesn't the appfabric installer dump this dll in the first place. I used the following installer from here : WindowsServerAppFabricSetup_x64_6.0.exe.

    Can anyone please point me to the correct dll version ? It is very important for me to get appfabric session state provider going from applicatin architecture perspective.

    Full exception with stack trace :

    Exception Details:

    Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0019>:SubStatus<ES0001>:Check the client version. It should be within the allowed version range on the server. If necessary, upgrade the client to the allowed version.

    [DataCacheException: ErrorCode<ERRCA0019>:SubStatus<ES0001>:Check the client version. It should be within the allowed version range on the server. If necessary, upgrade the client to the allowed version.] Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody) +568 Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCacheProperties(RequestBody request, IClientChannel channel) +548 Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String cacheName) +557 Microsoft.Web.DistributedCache.CacheHelpers.RunCacheCreationHooks(CacheConnectingEventArgs fetchingEventArgs, IDataCacheFactory dataCacheFactory, Object sender, EventHandler`1 fetchingHandler, EventHandler`1 fetchedHandler) +95 Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.CreateInternalProvider(IHttpRuntime httpRuntime, SessionInitializationData initData, IDataCacheFactory dataCacheFactory, EventHandler`1 cacheFetching, EventHandler`1 cacheFetched) +146 Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.GetInternalProvider() +206 Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.CreateNewStoreData(HttpContext context, Int32 timeout) +19 System.Web.SessionState.SessionStateModule.InitStateStoreItem(Boolean addToContext) +160 System.Web.SessionState.SessionStateModule.CompleteAcquireState() +363 System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +1296 System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +115 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375

All Replies