系统日志里面都报微信的这个41008错误,但是人少的时候都很正常。。。
事件类型: 警告
事件来源: ASP.NET 4.0.30319.0
事件种类: Web Event
事件 ID: 1309
日期: 2016-7-12
事件: 20:41:31
用户: N/A
计算机: NET2
描述:
Event code: 3005 Event message: An unhandled exception has occurred. Event time: 2016-7-12 20:41:31 Event time (UTC): 2016-7-12 12:41:31 Event ID: d7d14fd5b1c8423985c1da8979e88970 Event sequence: 23929 Event occurrence: 1360 Event detail code: 0 Application information: Application domain: /LM/W3SVC/78128134/Root-1-131127946386406250 Trust level: Full Application Virtual Path: / Application Path: E:\ExamSystemWX\ Machine name: NET2 Process information: Process ID: 2864 Process name: w3wp.exe Account name: NT AUTHORITY\LOCAL SERVICE Exception information: Exception type: ErrorJsonResultException Exception message: 微信请求发生错误!错误代码:41008,说明:missing code
at Senparc.Weixin.HttpUtility.Get.GetJson[T](String url, Encoding encoding)
at Senparc.Weixin.QY.AdvancedAPIs.OAuth2.OAuth2Api.GetUserId(String accessToken, String code, Int32 agentId)
at ExamSystemWX.Login.GetWXUserName(String code) in E:\Project\Dynemed\ExamSystem\ExamSystemWX\ExamSystemWX\Login.aspx.cs:line 208
at ExamSystemWX.Login.Page_Load(Object sender, EventArgs e) in E:\Project\Dynemed\ExamSystem\ExamSystemWX\ExamSystemWX\Login.aspx.cs:line 28
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Request information: Request URL: http://wks.dynemed.cn/Login.aspx Request path: /Login.aspx User host address: 182.131.10.215 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\LOCAL SERVICE Thread information: Thread ID: 36 Thread account name: NT AUTHORITY\LOCAL SERVICE Is impersonating: False Stack trace: at Senparc.Weixin.HttpUtility.Get.GetJson[T](String url, Encoding encoding)
at Senparc.Weixin.QY.AdvancedAPIs.OAuth2.OAuth2Api.GetUserId(String accessToken, String code, Int32 agentId)
at ExamSystemWX.Login.GetWXUserName(String code) in E:\Project\Dynemed\ExamSystem\ExamSystemWX\ExamSystemWX\Login.aspx.cs:line 208
at ExamSystemWX.Login.Page_Load(Object sender, EventArgs e) in E:\Project\Dynemed\ExamSystem\ExamSystemWX\ExamSystemWX\Login.aspx.cs:line 28
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details:
有关更多信息,请参阅在 http://go.microsoft.com/fwlink/events.asp 的帮助和支持中心。