如何解决浏览网站首页时提示下载index.htm的问题
情况是这样的
网站在运行一段时间后,浏览首页时会提示下载index.htm
出现这样情况后,重新覆盖一下首页文件就一可以解决
首页使用了ajax
EnableViewState="false"
是什么问题 ,如何处理。
!!!!求救!!!!!
系统日志记录如下
事件类型: 警告
事件来源: ASP.NET 2.0.50727.0
事件种类: Web 事件
事件 ID: 1309
描述:
事件代码: 3005
事件消息: 发生了未处理的异常。
信任级别: Full
应用程序虚拟路径: /
应用程序路径: F:\website\
进程信息:
进程 ID: 2352
进程名: w3wp.exe
帐户名: NT AUTHORITY\NETWORK SERVICE
异常信息:
异常类型: HttpException
异常消息: 无效的视图状态。
请求信息:
请求 URL: http://www.website.com/ScriptResource.axd?
d=gSM_slHFqbh3vElo5FUg5QbateUZq9W_VYP2rVIQWVZpt5XjJUzfCV2ellspacing=
请求路径: /ScriptResource.axd
堆栈跟踪: 在 System.Web.UI.Page.DecryptStringWithIV(String s, IVType ivType)
在 System.Web.UI.Page.DecryptString(String s)
在 System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
在 System.Web.Handlers.ScriptResourceHandler.ProcessRequestInternal(HttpResponse response, NameValueCollection
queryString, VirtualFileReader fileReader)
在 System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
在 System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)