You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS2022启动ASP.NET MVC应用时页面无法完成加载

ASP.NET MVC本地调试页面加载卡住问题

问题概述

我有一个运行7年的ASP.NET MVC Web应用,1个月前完成并部署了基于Bootstrap 5模板的重大布局更新;昨日发布小更新后,生产服务器运行正常。今日准备进行其他更新时,本地开发环境无法正常加载页面:浏览器开始加载,标题已设置,但加载过程无法完成。单步调试layout.cshtml文件可完整执行完毕。

调试输出片段

'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/15/ROOT-1-133233826033764319): Loaded 'C:\Users\marti\AppData\Local\Temp\Temporary ASP.NET Files\vs\9c4767f5\86e2386a\App_Web_ojytgbdd.dll'. 
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/15/ROOT-1-133233826033764319): Loaded 'C:\Users\marti\AppData\Local\Temp\Temporary ASP.NET Files\vs\9c4767f5\86e2386a\App_Web_bqlj2ah4.dll'. 
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/15/ROOT-1-133233826033764319): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/15/ROOT-1-133233826033764319): Loaded 'C:\Users\marti\AppData\Local\Temp\Temporary ASP.NET Files\vs\9c4767f5\86e2386a\App_Web_stdraha3.dll'. 
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/15/ROOT-1-133233826033764319): Loaded 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\Web Tools\Languages\Microsoft.WebTools.Languages.Html.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'iisexpress.exe' (CLR v4.0.30319: /LM/W3SVC/15/ROOT-1-133233826033764319): Loaded 'C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\Extensions\Microsoft\Web Tools\Languages\Microsoft.WebTools.Languages.Shared.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.

The thread 0x6e3c has exited with code 0 (0x0).
The thread 0x7a40 has exited with code 0 (0x0).
The thread 0x14e8 has exited with code 0 (0x0).
The thread 0x2210 has exited with code 0 (0x0).
The thread 0x3f88 has exited with code 0 (0x0).
The thread 0x657c has exited with code 0 (0x0).
The thread 0x8014 has exited with code 0 (0x0).
The thread 0x7f18 has exited with code 0 (0x0).
The thread 0xb94 has exited with code 0 (0x0).
The thread 0x7a50 has exited with code 0 (0x0).
The thread 0x2a0c has exited with code 0 (0x0).
The thread 0x5c44 has exited with code 0 (0x0).
The thread 0x7ba4 has exited with code 0 (0x0).
The thread 0x6ff0 has exited with code 0 (0x0).
The thread 0x7e80 has exited with code 0 (0x0).

已排查操作

  • 更换MS Edge和Chrome浏览器,问题未解决
  • 切换Debug与Release配置,结果一致
  • 无调试模式(Ctrl+F5)启动时,页面可正常加载

补充细节

  1. 浏览器控制台无报错,页面已部分加载,加载指示器元素可见
  2. 浏览器开发者工具网络面板显示有2个字体资源处于待加载状态

内容的提问来源于stack exchange,提问作者docmd

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.27 14:47:30