http:// site1 /未映射到有效的本地网站 [英] http://site1/ doesn't map to a valid local website

查看:92
本文介绍了http:// site1 /未映射到有效的本地网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在多个网站上工作,为方便起见,每个网站都绑定了一个不同的环回IP地址。

I'm working on multiple websites, each bound to a different loopback IP address for convenience.

我尝试为未绑定到127.0.0.1但127.0.0.101或.102的网站运行分析器。我收到以下错误消息。

When I try to run profiler for websites that are not bound to 127.0.0.1 but 127.0.0.101 or .102 I get the error message below.

  VSP 7008:ASP.net异常:"http:// site1 /"没有映射到有效的本地网站。

无论我使用VS2017 IDE开始分析(检测)还是使用/ VSPerfASPNetCmd.exe命令行工具都是一样的跟踪。 

It is the same whether I use VS2017 IDE to start profiling (instrumentation) or VSPerfASPNetCmd.exe command line tool with /trace. 

我在MSDN上看不到任何评论,表明我只能使用127.0.0.1进行性能分析。我还尝试将localhost映射到hosts文件中的127.0.0.101,想知道它是否正在针对"localhost"检查IP地址。但这没有任何区别。
我不想继续更改我的< g class =" gr_ gr_20 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace"数据-GR-ID =" 20" ID = QUOT; 20">主机< / g取代; IIS中的文件和网站绑定每次我需要分析
另一个网站,因为每个网站都有几个子域。我希望有一个解决方案。

I don't see any remarks on MSDN indicating that I can only use 127.0.0.1 for profiling. I also tried mapping localhost to 127.0.0.101 in hosts file wondering if it's checking the IP address against "localhost" but that didn't make any difference. I don't want to keep changing my <g class="gr_ gr_20 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" data-gr-id="20" id="20">hosts</g> file and website bindings in IIS every time I need to profile another website since each has several subdomains. I'm hoping there is a solution.

谢谢,

Engin

Thank you,
Engin

推荐答案

嗨Engin,

Hi Engin,

一个可能的原因是它确实无法识别特定的URL。

One possible reason is that it really couldn't recognize the specific URL.

当然,我会与熟悉它的其他成员讨论,如果我得到任何最新信息,我会在这里分享。

Of course, I will discuss with other members who are familiar with it, if I get any latest information, I will share it here.

最诚挚的问候,

杰克


这篇关于http:// site1 /未映射到有效的本地网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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