【发布时间】:2013-01-21 13:01:30
【问题描述】:
我在 IIS 中设置了一个网站,并在该网站下添加了 Web 应用程序。我将现有的 .Net Web 应用程序文件(aspx 文件格式)发布并复制到 Web 应用程序文件夹。
当我尝试从 IE 浏览网页时,它说
"Protocol Type: localhost"
"Windows does not recognize this Protocol."
当我尝试从 Firefox 浏览时,它说
"The address wasn't understood"
"Firefox doesn't know how to open this address, because the protocol (localhost) isn't associated with any program."
但是当我从 Firefox 转到 url 并单击 enter(刷新不起作用)时,页面可以工作并显示内容。
谁能指出解决这个问题的方向?
【问题讨论】:
-
网址:localhost:80/AdministrationWebApp/Administration/AdministrationIndex.aspx。当我从 IIS 浏览页面时它不起作用。我必须去 Firefox 浏览器 url 并按回车键。
-
感谢 Wug,它有效!一个小小的改变就会产生很大的不同。如果您发布您的灵魂,我会将其标记为答案。我只能投票。
标签: asp.net iis browser web-deployment