我在服务器端遇到此问题,我试图查找原因,却完全不知道如何解决! 我试图通过添加EnableViewStateMac =“ True”来修改页面,但它根本不起作用!
感谢您的帮助!
Event code: 4009
Event message: Viewstate verification failed. Reason: Viewstate was invalid.
Event time: 11/8/2018 9:28:14 PM
Event time (UTC): 11/9/2018 2:28:14 AM
Event ID: [VALUE]
Event sequence: 9994
Event occurrence: 1
Event detail code: 50204
Application information:
Application domain: [VALUE]
Trust level: Full
Application Virtual Path: /
Application Path: [VALUE]
Machine name: [VALUE]
Process information:
Process ID: 10816
Process name: w3wp.exe
Account name: IIS APPPOOL\[VALUE]
Request information:
Request URL: https:[VALUE]/Customer-List.aspx
Request path: [VALUE]/Customer-List.aspx
User host address: [VALUE]
User:
Is authenticated: False
Authentication Type:
Thread account name: IIS APPPOOL\[VALUE]
ViewStateException information:
Exception message: Invalid viewstate.
Client IP: [VALUE]
Port: [VALUE]
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/[VALUE] Safari/537.36
PersistedState: [VALUE]
Referer: [VALUE]/Customer-List.aspx
Path: [VALUE]/Customer-List.aspx
Custom event details: