无法在Web服务器上启动调试。调试器无法连接到MVC中的远程计算机

时间:2022-09-03 19:59:29

I've just started to work on a MVC project. It's a web portal. I've set my sites on my local IIS 6.0 But when I want to start debugging, I get this error:

我刚刚开始研究MVC项目。这是一个门户网站。我已经在我的本地IIS 6.0上设置了我的网站但是当我想开始调试时,我收到此错误:

Unable to start debugging on the web server. The debugger cannot connect to the remote computer. The debugger was unable to resolve the specified computer name.

无法在Web服务器上启动调试。调试器无法连接到远程计算机。调试器无法解析指定的计算机名称。

无法在Web服务器上启动调试。调试器无法连接到MVC中的远程计算机

I don't understand that when I want to debug my project locally, what "Remote computer" it's talking about??!!

我不明白,当我想在本地调试我的项目时,它正在谈论什么“远程计算机”?!!

Please help me guys, this is my first task in this company and I have to overcome this error.

请帮助我们,这是我在这家公司的第一个任务,我必须克服这个错误。

1 个解决方案

#1


8  

Check all the steps outlined here: https://msdn.microsoft.com/en-us/library/dwesw3ee.aspx?f=255&MSPPError=-2147217396

检查此处列出的所有步骤:https://msdn.microsoft.com/en-us/library/dwesw3ee.aspx?f = 255&MSPPError = -2147217396

If you're using a hosts file, make sure you have an entry for the site in question. That was the problem for me, when I encountered this message.

如果您使用的是hosts文件,请确保您有相关网站的条目。当我遇到这条消息时,这对我来说是个问题。

#1


8  

Check all the steps outlined here: https://msdn.microsoft.com/en-us/library/dwesw3ee.aspx?f=255&MSPPError=-2147217396

检查此处列出的所有步骤:https://msdn.microsoft.com/en-us/library/dwesw3ee.aspx?f = 255&MSPPError = -2147217396

If you're using a hosts file, make sure you have an entry for the site in question. That was the problem for me, when I encountered this message.

如果您使用的是hosts文件,请确保您有相关网站的条目。当我遇到这条消息时,这对我来说是个问题。