问题描述
您好,我正在检查uls日志中是否存在意外错误,并且看到运行时意外错误
11/15/2017 13:26:16.50 w3wp.exe(0x07CC) 0x0ACC SharePoint Foundation Runtime tkau Unexpected System.ArgumentException:无效的回发或回调参数.使用< pages enableEventValidation ="true"/>启用事件验证. 在配置中或<%@页面EnableEventValidation ="true" %>在页面中.为了安全起见,此功能会验证回发或回调事件的参数源自最初呈现它们的服务器控件. 如果数据有效并且是预期的,请使用ClientScriptManager.RegisterForEventValidation方法来注册回发或回调数据以进行验证.在System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId,String 论点) 在System.Web.UI.WebControls.DropDownList.LoadPostData(String postDataKey,NameValueCollection postCollection)处.在System.Web.UI.Page.ProcessPostData(NameValueCollection postData,布尔值fBeforeLoad)处 在System.Web.UI.Page.ProcessRequestMain处(布尔值includeStagesBeforeAsyncPoint,布尔值includeStagesAfterAsyncPoint)
该异常每分钟不断地记录到uls日志中.
事件查看器中的相应事件具有事件1309.
感谢您对跟踪此异常的任何帮助.
rani
Hi, I'm checking the uls logs for unexpected errors and I'm seeing the runtime unexpected errors
11/15/2017 13:26:16.50 w3wp.exe (0x07CC) 0x0ACC SharePoint Foundation Runtime tkau Unexpected System.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) at System.Web.UI.WebControls.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection) at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
this exception is getting logged into the uls log every minute continuously.
the corresponding event in event viewer has event 1309.
Appreciate any help in tracking down this exception.
rani
这篇关于System.ArgumentException:无效的回发或回调参数.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!