Try to create a web project or open a URL (HTTP/1.0 500 server error)

Source: Internet
Author: User
When you try to create or open a web project at URL: http: // localhost/XXX, the web server reports an error: "HTTP/1.0 500 server error" was followed by Baidu and Google. After a long time, it will not help. At the same time, it is found that all local websites, including localhost (even static pages), cannot be opened. Not to mention opening a project with vs. net.
In addition, the following methods do not help me:

1. Run iisreset
2. Run aspnen_regiis.
3. What is the IP address attribute allocated in the IIS attribute settings.

In the "ie properties" setting "advanced" tab, there is an item: "display friendly HTTP Error messages"

I uncheck this option. Retry. The error message is changed:

[Code = cant_connect_loopback] cannot connect due to potential loopback Problems

This is a good improvement, and then continue searching for a new keyword in Google: code = cant_connect_loopback, and finally get a prompt in a post, which may be related to the connection in the IE option.

Suddenly woke up, I had encountered some inexplicable problems before, and it was also related to setting up a proxy server in the connection. Today, I set up a proxy server for a foreign website on CERNET, and the proxy port of the server is exactly 80.

The proxy server is removed and the problem is solved!

Summary:

1. The most important lesson is to check your proxy server settings if some inexplicable errors occur in IIS in the future.

2. Although I first got the error message HTTP 500-internal server error, I removed the "show friendly HTTP Error message" and got more detailed errors.Code. During this online search, I also encountered an HTTP 500-internal server error message, but most people may have different specific errors, you cannot blindly trust others' suggestions.

Important statement:
My problem is to solve the HTTP 500-Internal Server Error by removing the proxy server settings. It may not be effective for your problem.

My suggestion is to remove "display friendly HTTP Error messages" from "ie-> advanced" and search for more specific error codes by Google.

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.