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.