请选择 进入手机版 | 继续访问电脑版
uxtd999999
金牌服务用户   /  发表于:2026-1-8 09:32  /   查看:31  /  回复:4
1金币
CurrentMethodName: ExceptionTraceMiddleware.HandleExceptionAsync 2026-01-08 09:25:15.629 [ERROR] - [4f910a91-a9fc-423d-8d3e-4ddfbfc57fac] - [Exception] - Source: /UserView/GetEditedUserInfo, UserName: administrator, ExtraData: , CallStack: {   "ClassName": "System.ArgumentException",   "Message": "An item with the same key has already been added. Key: 6",   "Data": null,   "InnerException": null,   "HelpURL": null,   "StackTraceString": "   at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior)    at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)    at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](TSource[] source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)    at Forguncy.UserService2.Provider.CustomizeUserPropertyProvider.GetUserAllPropertyValueInfoAsync(Int32 userId, UserType userType)    at ForguncyUserService.Services.ManagementPageService.GetUserAllProper






[size=0.16]
























4 个回复

uxtd999999
金牌服务用户   /  发表于:2026-1-8 09:43:52
沙发
已经解决
回复 使用道具 举报
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2026-1-8 09:47:37
板凳
大佬,问题是怎么解决的呢,方便分享下么,看这个日志应该是组织信息中有相同的组织架构或者相同的用户名称导致的
回复 使用道具 举报
uxtd999999
金牌服务用户   /  发表于:2026-1-8 09:58:07
地板
用户用工号同步了企业微信的UserID,结果企业微信字段重复了。CustomizedPropertiesTable

评分

参与人数 1金币 +5 收起 理由
Lay.Li + 5 赞一个!

查看全部评分

回复 使用道具 举报
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2026-1-8 10:22:53
5#
好的,问题解决了就行,后边有问题欢迎您继续发帖交流
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部