出现这种情况的原因很多,一般的原因是数据捆绑错误,要分析代码才能解决。
你不妨先重装一次IIS.

解决方案 »

  1.   

    查一下是否
    session,application等服务器端变量失效
      

  2.   

    global.asax.cs
    protected void Application_Error(Object sender, EventArgs e)
    {
    Exception ex = Server.GetLastError();
    if( !EventLog.SourceExists("mylog") )
    EventLog.CreateEventSource("mylog" ,"mylog" );
    EventLog eventLog = new EventLog();
    eventLog.Source = "mylog";
    string strerror = "IP:"+Request.UserHostAddress+"\n"+"Mantchine Name:"+Request.UserHostName+"\n"+System.DateTime.Now.ToString()+"\n"+ex.ToString();
    eventLog.WriteEntry( strerror ,EventLogEntryType.Error );
    Server.ClearError();
    }
    看一看那里出现异常.