Azure SQL数据库(随机)错误号:-2,状态:0,类:11

时间:2018-07-18 15:59:26

标签: azure azure-sql-database

这已经持续了几个星期了。随机发生。看起来像是某种网络/基础结构连接错误出现在应用程序中,显示为“ System.ComponentModel.Win32Exception:等待操作超时”,这完全是误导性的

我认为真实的根本原因是:

**ClientConnectionId:8d05b225-b279-49e4-ba45-b023a3bf741b
Error Number:-2,State:0,Class:11
ClientConnectionId before routing:31a82c1c-661e-4a96-902a-4afca974eb5a
Routing Destination:a8cf04c13885.tr1.brazilsouth1-a.worker.database.windows.net,11090**

实际原因显示在抛出的异常堆栈跟踪的中间:

MemberID, String XDataJSON) in D:\_PROJECTS\_REPOS\AllDating REPOS\DALServer\DAL\XPraCasar1.Designer.cs:line 79198
   at DALPraCasar._MemberInfo.MemberXData.Save() in D:\_PROJECTS\_REPOS\AllDating REPOS\DALServer\MemberInfo-XData.cs:line 72
   at PopupMessagingRules.OnPreRender(EventArgs e) in D:\_PROJECTS\_REPOS\AllDating REPOS\PraCasar\Controls\PopupMessagingRules.ascx.cs:line 46
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
**ClientConnectionId:8d05b225-b279-49e4-ba45-b023a3bf741b
Error Number:-2,State:0,Class:11
ClientConnectionId before routing:31a82c1c-661e-4a96-902a-4afca974eb5a
Routing Destination:a8cf04c13885.tr1.brazilsouth1-a.worker.database.windows.net,11090**
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously

我已经在大多数地方实现了重试逻辑,但是我的应用程序中的某些旧版Asp.Net控件无法解决此问题。它似乎发生在一个非常低的水平。而且它看起来像是Azure网络/连接问题,所以我不知道该怎么办。该应用程序已运行多年,这种错误从未发生过。

谢谢。

0 个答案:

没有答案