HTTP 404. The resource you are looking for (or one of its dependencies) may have been removed, or its name has changed, or is temporarily unavailable. Please...

Source: Internet
Author: User

A few days ago opened the local. NET program always prompts this error, reload two times. NET and IIS results or not, and finally found a solution on the Internet, finally find the cause of the error, now posted out to you for reference.

Reason
The WEB server returns an "HTTP 404-file not found" error message when it cannot retrieve the requested page.

The following are some common causes of this error message: • The requested file has been renamed.
• The requested file has been moved to a different location and/or deleted.
• The requested file is temporarily unavailable for maintenance, upgrades, or other unknown reasons.
• The requested file does not exist.
IIS 6.0: The corresponding WEB service extension or MIME type is not enabled.
• A virtual directory maps to the root directory of drives on another server.


Solution
To resolve this issue, verify that the file requested in the URL of the browser exists on the IIS computer and is in the correct location.

Use the IIS Microsoft Management Console (MMC) snap-in to determine where the requested file should be located on the IIS computer's file system.

This is especially important if the Web site uses a virtual directory (VDIR). VDIR is a directory where the site's home directory does not contain it, but it looks like it is included from the client browser. This virtual directory must be mapped to a subfolder on the drive or refer to the file by name.

For example, suppose the URL that causes the 404 error is http://Microsoft.Com/Test/File1.htm, and the IIS snap-in displays the url,/test/directory for the Microsoft.com Web site is actually a map to the IIS computer The virtual directory for the c:/information location. This means that you must verify that the File1.htm file is in the C:/information directory (and verify that the file name is spelled correctly).

IIS6 Dynamic content: When the Web extension is not enabled, a 404.2 entry is logged in the Consortium log file. Use the IIS Microsoft Management Console (MMC) snap-in to enable the appropriate Web extensions. The default Web extensions include ASP, asp.net, server-side inclusion, WebDAV Publishing, FrontPage Server Extensions, Universal Gateway Interface (CGI). You must add a custom extension and explicitly enable it. Please see the IIS 6.0 Help file for more information.
IIS6 static content: When an extension does not map to a known extension in the MIME mapping attribute, a 404.3 entry will be logged in the Consortium extension log file. Use the IIS Microsoft Management Console (MMC) snap-in to configure the appropriate extensions in MIME mappings. Please see the IIS 6.0 Help file for more information.

I just because the home directory is set to the root of the hard drive G disk so that the problem, and then the home directory address to the next level of the directory will be good ~ ~

Free Money: http://www.prize8.com/other.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.