2012-01-25 2 views
0

웹 사이트를 실행할 때 오류가없고 때로는 예외 예외가 발생합니다. 무슨 일 이니?asp.net 프로젝트에서 실행 시간에 하나의 오류가 발생했습니다.

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using 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.

+0

이 답변을 참조하십시오 : http://stackoverflow.com/a/1503660/290343 –

+0

정확히 어떻게이 예외를 처리하는지 이해할 수 없습니다. 좀 더 설명이 필요합니다 –

+0

여러 가지 이유가있을 수 있습니다. [EnableEventValdidation] (http://msdn.microsoft.com/en-us/library/system.web.configuration.pagessection)에 대한 Microsoft의 설명서를 비롯하여 답변을 철저히 읽으십시오. enableeventvalidation.aspx). 최후의 수단으로 최후의 수단으로 보안 요구 사항에 따라 web.config 또는 페이지 단위로 'false'로 설정하십시오. –

답변

관련 문제