1
在Sharepoint網站上,用戶嘗試再次響應他已經回覆的調查。 IIS返回HTTP 500並提供頁面出現以下錯誤信息:爲什麼此ASP.NET堆棧跟蹤同時報告兩個異常?
Server Error in '/' Application.
--------------------------------------------------------------------------------
You are not allowed to respond again to this survey.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Runtime.InteropServices.COMException: You are not allowed to respond again to this survey.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[COMException (0x81020039): You are not allowed to respond again to this survey.]
Microsoft.SharePoint.Library.SPRequestInternalClass.IsVotingAllowed() +0
Microsoft.SharePoint.Library.SPRequest.IsVotingAllowed() +174
[SPException: You are not allowed to respond again to this survey.]
Microsoft.SharePoint.Library.SPRequest.IsVotingAllowed() +312
Microsoft.SharePoint.WebPartPages.ListFormWebPart.OnInit(EventArgs e) +955
System.Web.UI.Control.InitRecursive(Control namingContainer) +143
System.Web.UI.Control.AddedControl(Control control, Int32 index) +271
System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPartHelper(WebPart webPart) +305
System.Web.UI.WebControls.WebParts.WebPartManagerControlCollection.AddWebPart(WebPart webPart) +1930590
System.Web.UI.WebControls.WebParts.WebPartManagerInternals.AddWebPart(WebPart webPart) +63
Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddWebPartWithRetry(WebPart webPart) +147
Microsoft.SharePoint.WebPartPages.SPWebPartManager.AddDynamicWebPart(WebPart webPart) +122
Microsoft.SharePoint.WebPartPages.SPWebPartManager.CreateWebPartsFromRowSetData(Boolean onlyInitializeClosedWebParts) +12053
Microsoft.SharePoint.WebPartPages.SPWebPartManager.LoadWebParts() +93
Microsoft.SharePoint.WebPartPages.SPWebPartManager.OnPageInitComplete(Object sender, EventArgs e) +690
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Page.OnInitComplete(EventArgs e) +11038910
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1674
目前正處在有報道兩個例外 - System.Runtime.InteropServices.COMException
和SPException
。
這怎麼可能?在ASP.NET級發生了什麼情況,同時報告了兩個異常?
我猜'COMException'是'SPException'的內部,不是嗎? – sharptooth
@sharptooth - 它必須是:-) –