回发错误?

时间:2011-04-19 17:16:19

标签: c# asp.net

我想知道为什么有人知道这个错误? 在我的Win7 IIS7和另一台Server 2008 IIS7上发布时,我的ASP.Net页面运行正常,但今天当我为另一台Server 2008执行相同操作时,所有ajax回发都会出现此错误:

#Exception Message: 
Exception of type 'System.Web.HttpUnhandledException' was thrown.

   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at ASP.office_desktop_wlogin_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\paradigmasp\77933d43\29398497\App_Web_npn2130s.2.cs:line 0
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

我想知道错误的可能原因是什么?

提前致谢...

1 个答案:

答案 0 :(得分:1)

您是否检查了所有设置以确保网站设置完全相同?我认为我要看的主要两件事是:

AppPool - 确保两个站点在应用程序池中使用相同版本的.NET 目录权限 - 检查目录以确保IIS可以访问它

除了AJAX请求之外,网站是否正常运行?