网页找不到- HTTP 404, ASP。NET page没有使用IIS7.5

时间:2021-05-07 11:27:27

I am trying to create a new Web page on our IIS7.5 server. I am using the same settings as an existing and working site, but the new one isn't working. If it's runing or not, I get the same error, as if it's not even there:

我正在尝试在IIS7.5服务器上创建一个新的Web页面。我正在使用与现有和工作站点相同的设置,但是新的站点不能工作。如果它运行与否,我得到相同的错误,就好像它不存在一样:

Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /HomePage.aspx

“/”应用程序中的服务器错误。无法找到资源。描述:HTTP 404。您正在寻找的资源(或它的一个依赖项)可能已经被删除,它的名称已经更改,或者暂时不可用。请查看下面的URL并确保拼写正确。请求的URL:/ HomePage.aspx

What am I missing?

我缺少什么?

Thanks GZ

由于广州


It now works on Firefox, Chrome, Opera, but NOT on IE.

现在它可以在Firefox、Chrome、Opera上运行,但不能在IE上运行。

It uses Windows authentification. On IE9, I get asked my credentials a few times before getting the 401-Not authorised page.

它使用Windows认证。在IE9上,我在获得401-Not authorized页面之前会被询问几次我的凭证。

Why does it work on the other 3 broswers and not this one?

为什么它只作用于其他三个兄弟而不是这个呢?

Thanks

谢谢

2 个解决方案

#1


1  

Make sure IIS and WebSite are both started.

确保IIS和网站都已启动。

#2


1  

Try to turn your WebSite in a application, on IIS. You'll find it in properties of website, Home Directory tab, Applications settings. If you find a Create button (click on it).

在IIS上尝试把你的网站变成一个应用程序。你可以在网站属性,主目录标签,应用程序设置中找到它。如果找到一个Create按钮(单击它)。

Also verify execution permission. Set it to Scripts Only.

也验证执行权限。只将它设置为脚本。

#1


1  

Make sure IIS and WebSite are both started.

确保IIS和网站都已启动。

#2


1  

Try to turn your WebSite in a application, on IIS. You'll find it in properties of website, Home Directory tab, Applications settings. If you find a Create button (click on it).

在IIS上尝试把你的网站变成一个应用程序。你可以在网站属性,主目录标签,应用程序设置中找到它。如果找到一个Create按钮(单击它)。

Also verify execution permission. Set it to Scripts Only.

也验证执行权限。只将它设置为脚本。