2014-02-12 3 views
0

최근 프로덕션 서버의 이벤트 뷰어에서 아래 오류가 발생했습니다. 5 ~ 10 분마다 나타나며 다른 사용자 호스트 주소에서 왔습니다. default.aspx 페이지의 모든 링크를 클릭하여 문제를 해결하려고했지만 여전히 아래 오류를 재현 할 수 없습니다.이벤트 뷰어에서 오류를 재현 할 수 없습니다.

누구든지 아래의 오류를 해결하는 방법을 제안 할 수 있습니까?

Process information: 
Process ID: 18756 
Process name: w3wp.exe 
Account name: NT AUTHORITY\SYSTEM 

Exception information: 
Exception type: ArgumentException 
Exception message: 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.ImageButton.RaisePostBackEvent(String eventArgument) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 



Request information: 
Request URL: http://domain.com/default.aspx 
Request path: /default.aspx 
User host address: 108.162.208.110 
User: 
Is authenticated: False 
Authentication Type: 
Thread account name: NT AUTHORITY\SYSTEM 

Thread information: 
Thread ID: 8 
Thread account name: NT AUTHORITY\SYSTEM 
Is impersonating: False 
Stack trace: at System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) 
at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) 
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 

답변

0

오류는 페이지 또는 웹 사이트 수준에서 EventValidation을 설정했기 때문에 발생합니다. 이 오류는 사용자 이벤트 (대부분 javasctipt를 사용하는 것이 가장 적절 함)를 무시하려고 할 때 발생합니다. 이것은 이벤트가 postback 컨트롤에 의해 실제로 트리거되지 않았다는 인상을 asp.net에 제공합니다.

이 오류가 발생할 가능성이 가장 큰 이유는 일부 컨트롤을 동적으로 만들려고 할 때와 페이지가 업데이트 패널을 사용하기 때문입니다.

응용 프로그램의 구조를 변경할 수 없다고 생각되는 경우 특정 페이지에서 이벤트 유효성 검사를 사용하지 않도록 설정할 수 있습니다.

+0

답장 보내 주셔서 감사합니다. 그러나, 나는 로컬 시스템에서 내 응용 프로그램을 실행하고 어떤 오류를 생성하지 않았다. – My2ndLovE

+0

최근에 일부 .net 버전에서 이전하셨습니까? –

+0

아니, 내가 한 유일한 마이 그 레이션은 서버 마이 그 레이션 (db 서버) – My2ndLovE

관련 문제