AppFabric Cache - An existing connection was forcibly closed by the remote host

后端 未结 3 1527
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-06 07:52

I\'m trying to get AppFabric cache up and running on my local development environment. I have Windows Server AppFabric Beta 2 Refresh installed, and the cache c

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-06 08:33

    I had this problem too and I found the answer in this thread:

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/c27063e7-1579-4d62-9104-87076d1c8d98/client-caching-error-errorcodeerrca0017substatuses0006

    The answer:

    You are seeing this error because of the security property mismatch between client and server.

    In your client code you disabled the security (Mode=None and PotectionLevel=None) whereas the cache server uses mode=Transport and PotectionLevel=EncryptAndSign (default in Beta2Fresh bits).

    Do either of the following:

    1) In the client code use the default security i.e. configuration.SecurityProperties =new DataCacheSecurity();

    2) Disable the security at server to match with your existing client code. Use Powershell cmdlet Set-CacheClusterSecurity -SecurityMode None -ProtectionLevel None

提交回复
热议问题