无法启动程序'http:// localhost' [英] Unable to start program 'http://localhost'
问题描述
您好
我在Windows 7环境中使用Visual Studio 2017专业版。我正在尝试创建ASP.NET MVC应用程序并运行该项目。我在运行创建的示例项目时遇到了以下问题。
I am using the Visual Studio 2017 professional in the Windows 7 environment. I am trying to create the ASP.NET MVC application and running the project. I have faced the below problem while run the created sample project.
问题再现步骤:
Issue reproducing steps:
1。创建ASP.NET MVC应用程序。
1. Create the ASP.NET MVC Application.
2。运行项目。
2. Run the Project.
3。然后可以看到如下的弹出窗口。
3. Then can see the popup window like below.
注意:使用Chrome浏览器运行项目时显示此弹出窗口。当我使用Firebox浏览器运行时,不会重现此问题。
Note: This popup window shown while running the project with the Chrome browser. The issue is not reproduced when I am running with the Firebox browser.
计算机详细信息:
Os:Windows 7
Os: Windows 7
VS:2017
浏览器:Chrome
Browser: Chrome
请向我建议任何想法解决此错误。
Please suggest to me any idea to resolve this error.
谢谢,
Ganesan R。
Ganesan R.
推荐答案
您好Ganesh,
Hi Ganesh,
一些社区成员通过选择" <强>本地强>"在"附加到"中"附加到过程"的字段对话框。
Some community members fixed it by selecting "Native" in the "Attach to" field of the "Attach to Process" dialog.
转到调试 - >附加到流程 - >附加到 - >选择:
ps这可能是出于某些原因(可能是我安装的附加组件?)Visual Studio已将chrome.exe识别为类型为"WebKit,x86"的进程。在这台机器上选择了错误的附加方式。
p.s. It’s probably for some reason (perhaps an add-on I have installed?) Visual Studio has identified chrome.exe as a process of type "WebKit, x86" on this machine and selected the wrong way to attach.
请尝试一下,让我知道结果。
Please try it and let me know the result.
致以最诚挚的问候,
Fletch
这篇关于无法启动程序'http:// localhost'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!