Error:ServiceStack.Redis.RedisResponseException:“WRONGTYPE Operation against a key holding the wrong kind of value, sPort: 37746, LastCommand: ”

ylbtech-Error:ServiceStack.Redis.RedisResponseException:“WRONGTYPE Operation against a key holding the wrong kind of value, sPort: 37746, LastCommand: ”
1.返回顶部
1、

ServiceStack.Redis.RedisResponseException
HResult=0x80131500
Message=WRONGTYPE Operation against a key holding the wrong kind of value, sPort: 37746, LastCommand:
Source=ServiceStack.Redis
StackTrace:
在 ServiceStack.Redis.RedisNativeClient.CreateResponseError(String error)
在 ServiceStack.Redis.RedisNativeClient.ReadMultiData()
在 ServiceStack.Redis.RedisNativeClient.SendExpectMultiData(Byte[][] cmdWithBinaryArgs)
在 ServiceStack.Redis.RedisNativeClient.LRange(String listId, Int32 startingFrom, Int32 endingAt)
在 ServiceStack.Redis.RedisClient.GetAllItemsFromList(String listId)
在 Sp.Common.Cache.RedisHelper.GetAllItems(String list) 在 D:labsp eposSolution4ConsoleRedis6RedisHelper.cs 中: 第 281 行
在 ConsoleRedis6.Program.TestHash() 在 D:labsp eposSolution4ConsoleRedis6Program.cs 中: 第 26 行
在 ConsoleRedis6.Program.Main(String[] args) 在 D:labsp eposSolution4ConsoleRedis6Program.cs 中: 第 13 行

2、
2.返回顶部
1、
A1:key值已存在,当前添加的数据类型不同。
2、
3.返回顶部
 
4.返回顶部
 
5.返回顶部
 
 
6.返回顶部
 
warn 作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
原文地址:https://www.cnblogs.com/storebook/p/12655935.html