【问题标题】:VS: Unable to Create Website '...'. Found 'VS:无法创建网站“...”。成立 '
【发布时间】:2011-05-02 12:01:24
【问题描述】:

我在创建网站时遇到问题。 这是我第一次使用 IIS 管理器。我在一本书(Asp.net 3.5 中的电子商务)中读过它。我一步一步地按照描述进行操作...但是 Visual Studio 2010 会弹出此错误消息:“无法创建网站 'http://www.example.com'。找到” 在谷歌我没有找到关于它的正确答案。

Here is my VS error message printscreen

Here is my IIS configuration printscreen

是的,VS 以管理员模式运行

最后,对不起我的初学者英语:-)

请帮帮我,我今天想学:-D

【问题讨论】:

    标签: asp.net visual-studio-2010 iis iis-7 webforms


    【解决方案1】:

    您是否尝试过从 IIS 管理器中删除 www.example.com 网站?错误消息表示该网站已经存在(因此“找到”)并且 Visual Studio 无法创建该网站。

    【讨论】:

    • 是的,我删除了它。并且 Visual Studio 抛出相同的错误消息 :-(
    • 在 Visual Studio 中创建一个网站 test.example.com 怎么样?
    • File/New Website -> Asp.net website 然后 WebLocation 在列表中我选择Http,然后输入以下行:www.example.com
    • 我在 IIS 中使用了以下配置:link。然后我在 cmd 中 ping 了 ecomerce.example.com(使用管理员模式)。但是 cmd 写出:请求超时,IP 地址为:66.129.99.88 然后,在 IIS 管理器的“操作”选项卡中,我在 127.0.0.1 上点击了 Browse ecomerce.example.com 并且 FF 没有找到页面...也许我的 IIS 配置有问题?
    • 这只是 DNS 问题。 ecomerce.example.com 在 Internet 上并不存在。请在记事本中打开“C:\Windows\System32\drivers\etc\host”。然后添加“127.0.0.1 ecomerce.example.com”并保存文件。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-01-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-04-08
    相关资源
    最近更新 更多