国产探花免费观看_亚洲丰满少妇自慰呻吟_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ā)表
主站蜘蛛池模板: 阿合奇县| 新安县| 梓潼县| 巴彦淖尔市| 永兴县| 加查县| 丹棱县| 新晃| 天峻县| 兰州市| 大英县| 广东省| 雷波县| 凭祥市| 凤山市| 霍邱县| 隆安县| 合水县| 潞城市| 皋兰县| 庆云县| 稷山县| 福贡县| 浦北县| 西峡县| 玉环县| 通州市| 江孜县| 肇源县| 洛南县| 罗源县| 松江区| 申扎县| 姚安县| 白山市| 革吉县| 达拉特旗| 汉沽区| 全南县| 凌海市| 漳州市|