国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網(wǎng)站 > 建站經(jīng)驗 > 正文

Validation of viewstate MAC failed.的解決方法

2019-11-02 16:42:38
字體:
供稿:網(wǎng)友
辦法:頁面的頂部page加 EnableViewState="False" EnableViewStateMac = "False" 來解決這個問題

根據(jù)框架的提示如下:

Server Error in '/' Application.

--------------------------------------------------------------------------------

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. 

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.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

Source Error: 

[No relevant source lines]

Source File: h:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/Temporary ASP.NET Files/root/df4db950/a034e6a/App_Web_o9fr0nmx.18.cs    Line: 0 

Stack Trace: 

[HttpException (0x80004005): Unable to validate data.]

   System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +2546780

   System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +214

[ViewStateException: Invalid viewstate. 

 Client IP: 202.119.199.112

 Port: 1242

 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)

 ViewState: /wEPDwUJNTM4MjQxOTkxZBgBBR5fX0NvbnRyb2xzUmVxdWlyZVBvc3RCYWNrS2V5X18WAQUMSW1hZ2VCdXR0b24xjUihQtAeI0cDU56BxkYGL8w1G/4=

 Referer: http://download.cumt.edu.cn/Admin/login.aspx

 Path: /Admin/login.aspx]

[HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.]
發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 离岛区| 太保市| 吴忠市| 永安市| 大石桥市| 澄迈县| 内乡县| 杂多县| 阿克苏市| 邯郸市| 绿春县| 恩平市| 东兴市| 绥阳县| 临清市| 宝兴县| 伊宁市| 育儿| 嘉禾县| 三原县| 武陟县| 乐都县| 浦北县| 赫章县| 竹北市| 杂多县| 陈巴尔虎旗| 确山县| 海盐县| 乌海市| 建水县| 梁河县| 剑川县| 兴宁市| 武山县| 年辖:市辖区| 连城县| 宣化县| 巴楚县| 西华县| 建瓯市|