无法找到显示资源的IIS服务器 [英] IIS server showing Resources can not be found

查看:163
本文介绍了无法找到显示资源的IIS服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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: /CompanyAddress.aspx


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34009 



m在访问已部署的IIS应用程序时出现此错误,主页获得了良好的访问权限当我试图访问另一个页面时出现错误

请帮助

提前致谢


m getting this error while accessing deployed IIS application,The Home page got a fine access the error arises when I tried to access another pages
please help
Thanks in advance

推荐答案

'HTTP 404 '当IIS找不到请求的页面时发生错误,当您收到此错误时,检查地址栏并查看请求的位置和页面,看看它是否存在于您的服务器上
'HTTP 404' error occurred when the requested page is not found by IIS, when you get this error, check for the address bar and see what location and page it is requested and see if it has exist on your server


'HTTP 404'表示找不到请求的资源,但将来可能再次使用。



请在下面找到清单以解决问题:



1.检查文件名是否正确

2.检查正确的目录名称(/temp/page1.aspx)

3.确保您的网站te正确配置了正确的目录

4.确保该目录具有通过IIS浏览文件的正确访问权限

5.如果您使用的是SSL证书而未正确配置它显示错误。如果您使用的是SSL,则需要使用https而不是http。

6.如果您实现了自定义URL重写概念并浏览了错误的URL,那么它会显示相同的错误。例如,在ASP.NET MVC中,如果您尝试浏览URL而不是规则设置它显示相同的错误,则会出现路由概念。
'HTTP 404' means the requested resource could not be found but may be available again in the future.

Please find below checklists to resolve the problem:

1. Check file name is correct
2. Check correct directory name(/temp/page1.aspx)
3. Make sure your website is properly configured correct directory
4. Make sure that directory has proper access to browse the file through IIS
5. If you are using SSL certificate and not properly configured then it shows the error. If you are using SSL the you need to use https instead of http.
6. If you have implemented custom URL rewrite concept and browsing wrong URL then it shows the same error. For instance, in ASP.NET MVC, routing concept is there if you try to browse the URL other than the rules set it shows same error.


这篇关于无法找到显示资源的IIS服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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