无法在Web服务器上启动调试.调试器无法连接到MVC中的远程计算机 [英] Unable to start debugging on the web server. The debugger cannot connect to the remote computer in MVC

查看:142
本文介绍了无法在Web服务器上启动调试.调试器无法连接到MVC中的远程计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始从事MVC项目.这是一个网络门户.我已经在本地IIS 6.0上设置了站点 但是,当我想开始调试时,会出现此错误:

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:

无法在Web服务器上开始调试.调试器无法 连接到远程计算机.调试器无法解决 指定的计算机名称.

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.

我不明白,当我想在本地调试我的项目时,它是在说什么远程计算机" ??

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.

推荐答案

检查此处概述的所有步骤:

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

如果您使用的是hosts文件,请确保您有相关站点的条目.当我遇到此消息时,这就是我的问题.

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.

这篇关于无法在Web服务器上启动调试.调试器无法连接到MVC中的远程计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆