gpt4 book ai didi

c# - 网站不显示(说它下来),没有调用用户代码

转载 作者:行者123 更新时间:2023-11-30 20:11:40 26 4
gpt4 key购买 nike

网站加载 app_offline.htm。

应用程序过去加载正常,我不确定哪里出了问题,我正在寻找一个指针。它无法加载应用程序。这托管在开发 asp.net 服务器上

要获得此调用堆栈,我必须在 System.Web.HttpExecption 中启用第一次机会异常,这是“控制台”输出

A first chance exception of type 'System.Web.HttpException' occurred in System.Web.dll
A first chance exception of type 'System.Web.HttpException' occurred in System.Web.dll
Additional information: ASP.NET Initialization Error:
A first chance exception of type 'System.Web.HttpException' occurred in System.Web.dll
Additional information: ASP.NET Initialization Error:

第一次执行的调用堆栈。

System.Web.dll!System.Web.HttpRuntime.CheckApplicationEnabled() Line 1269C#
System.Web.dll!System.Web.HttpRuntime.FirstRequestInit(System.Web.HttpContext context = {System.Web.HttpContext}) Line 579C#
System.Web.dll!System.Web.HttpRuntime.EnsureFirstRequestInit(System.Web.HttpContext context) Line 652C#
System.Web.dll!System.Web.HttpRuntime.ProcessRequestInternal(System.Web.HttpWorkerRequest wr = {Microsoft.VisualStudio.WebHost.Request}) Line 1582 + 0x9 bytesC#
System.Web.dll!System.Web.HttpRuntime.ProcessRequestNoDemand(System.Web.HttpWorkerRequest wr) Line 2270C#
System.Web.dll!System.Web.HttpRuntime.ProcessRequest(System.Web.HttpWorkerRequest wr) Line 2256C#

最佳答案

根文件夹中“app_offline.htm”的存在将阻止应用程序运行。重命名该文件,它应该允许您的应用程序加载。

关于c# - 网站不显示(说它下来),没有调用用户代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3426982/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com