IIS Express 在 Visual Studio 2019 年未 运行
IIS Express not running in Visual Studio 2019
我是 dot.net 开发新手,开始开发 Web 应用程序。
我正在 ASP.NET 核心 MVC 架构下开发聊天应用程序。
最初,该项目运行良好,可以在 IIS Express 上 运行。但后来我发现现在 IDE 不工作了:项目不能 运行 在 IIS Express 上。
我在输出控制台中收到以下错误警告消息。
错误: The program '[18268] iisexpress.exe' has exited with code 0 (0x0).
IDE 中的警报消息的屏幕截图:Click here to view
但过了一会儿,我重新启动了项目,当我再次 运行 项目时,出现以下错误:
错误: The program '[17512] iisexpress.exe' has exited with code 0 (0x0).
我很困惑我的项目或 IDE 出了什么问题。有人可以帮我解决这个问题吗?
提前致谢。
I already refer some posts and articles in Whosebug and internet
but could not see the problem I found some posts I have already
followed:
IIS express crashes after successfully debugged and build
But they are very old posts and I could not find an answer.
检查您的解决方案文件夹中是否存在隐藏的“.vs”文件夹。
在 Visual Studio 中,右键单击 Web 项目,选择属性,然后导航到“Web”选项卡。从那里我将项目 URL 更改为另一个端口号。例如,如果它是 http://localhost... - 将其更改为 http://localhost:43567.
- 如果您的机器是 64 位,请转到工具-> 选项-> 项目和解决方案:
我是 dot.net 开发新手,开始开发 Web 应用程序。
我正在 ASP.NET 核心 MVC 架构下开发聊天应用程序。
最初,该项目运行良好,可以在 IIS Express 上 运行。但后来我发现现在 IDE 不工作了:项目不能 运行 在 IIS Express 上。
我在输出控制台中收到以下错误警告消息。
错误: The program '[18268] iisexpress.exe' has exited with code 0 (0x0).
IDE 中的警报消息的屏幕截图:Click here to view
但过了一会儿,我重新启动了项目,当我再次 运行 项目时,出现以下错误:
错误: The program '[17512] iisexpress.exe' has exited with code 0 (0x0).
我很困惑我的项目或 IDE 出了什么问题。有人可以帮我解决这个问题吗?
提前致谢。
I already refer some posts and articles in Whosebug and internet but could not see the problem I found some posts I have already followed:
IIS express crashes after successfully debugged and build
But they are very old posts and I could not find an answer.
检查您的解决方案文件夹中是否存在隐藏的“.vs”文件夹。
在 Visual Studio 中,右键单击 Web 项目,选择属性,然后导航到“Web”选项卡。从那里我将项目 URL 更改为另一个端口号。例如,如果它是 http://localhost... - 将其更改为 http://localhost:43567.
- 如果您的机器是 64 位,请转到工具-> 选项-> 项目和解决方案: