首页 新闻 赞助 找找看

无效的视图状态。---网站一发布碰到这个问题,谁能帮忙解决?

0
悬赏园豆:10 [已关闭问题]
<title>无效的视图状态。</title><style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style><span> <h1>“/”应用程序中的服务器错误。 <hr color="silver" size="1" width="100%"> </h1> <h2><i>无效的视图状态。</i> </h2></span><font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><b>说明: </b>执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 <br><br><b>异常详细信息: </b>System.Web.HttpException: 无效的视图状态。<br><br><b>源错误:</b> <br><br> <table bgcolor="#ffffcc" width="100%"> <tbody> <tr> <td><code>执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。</code> </td></tr></tbody></table><br><b>堆栈跟踪:</b> <br><br> <table bgcolor="#ffffcc" width="100%"> <tbody> <tr> <td><code></code><pre>[HttpException (0x80004005): 无效的视图状态。] System.Web.UI.Page.DecryptString(String s) +2076170 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +391 </pre></td></tr></tbody></table><br> <hr color="silver" size="1" width="100%"> <b>版本信息:</b>&nbsp;Microsoft .NET Framework 版本:2.0.50727.1433; ASP.NET 版本:2.0.50727.1433 </font><!-- [HttpException]: 无效的视图状态。 在 System.Web.UI.Page.DecryptString(String s) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) [HttpUnhandledException]: 引发类型为“System.Web.HttpUnhandledException”的异常。 在 System.Web.UI.Page.HandleError(Exception e) 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 在 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 在 System.Web.UI.Page.ProcessRequest() 在 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) 在 System.Web.UI.Page.ProcessRequest(HttpContext context) 在 ASP.index_aspx.ProcessRequest(HttpContext context) 位置 c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\3990db48\1769faa0\App_Web_index.aspx.cdcab7d2.n8xkzkow.0.cs:行号 0 在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) --><!-- 此错误页可能包含敏感信息,因为 ASP.NET 通过 &lt;customErrors mode="Off"/&gt; 被配置为显示详细错误消息。请考虑在生产环境中使用 &lt;customErrors mode="On"/&gt; 或 &lt;customErrors mode="RemoteOnly"/&gt;。-->
HURANKIE的主页 HURANKIE | 初学一级 | 园豆:190
提问于:2008-07-23 10:20
< >
分享
其他回答(1)
0
晕死 你就丢一个异常出来!我还真看不出来撒错误. 是哪个页面错误,所有还是个别! 是间歇错误还是?? 本地调试没问题上去有问题? NTFS权限? 闷~~~
Allie | 园豆:707 (小虾三级) | 2008-07-23 10:28
0
如果用了负载均衡,可能是也因为两台机器配置的machinekey不同,或者都设置成了自动生成。 请参考:http://msdn.microsoft.com/en-us/library/ms998288.aspx
玉开 | 园豆:8822 (大侠五级) | 2008-07-23 12:45
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册