gpt4 book ai didi

asp.net - IIS 错误,无法在 Web 服务器上启动调试

转载 作者:行者123 更新时间:2023-12-03 01:15:06 24 4
gpt4 key购买 nike

我想在本地计算机上从 IIS 运行我的应用程序。我创建了虚拟目录并向其中添加了应用程序,并在应用程序的属性文件夹中选中了单选按钮“使用本地 IIS Web 服务器”。然后我开始运行我的应用程序,但出现以下错误:

Unable to start debugging on the webserver.see help for common configuration errors.Running the webpage outside of the debugger may provide further information.

Make sure the server in operating correctly.Verify there are no syntax errors in web.config by doing a debug.Start Without Debugging.You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation.

如何消除这个错误?

我在 Windows 7 和 IIS 7.5 上使用 Visual Studio 2010。

最佳答案

造成上述问题的原因可能有很多。

您需要检查一下:- Unable to Start Debugging on the Web Server

旁注:-转到 IIS 并检查您正在使用的应用程序池是否已启动。

从命令行尝试这个:-

cd %windir%\Microsoft.NET\Framework\v4.0.30319
aspnet_regiis.exe -i

关于asp.net - IIS 错误,无法在 Web 服务器上启动调试,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18680991/

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