Today, the Internet in the Notebook Education network, and then back to the dormitory, and then open the vs.net of a solution, but there are errors:
The Web server reported an error while trying to create or open a Web project located in url:http://localhost/xxx : "http/1.0 Server Error"
Then use Baidu, Google to find ways. After a long time, it was useless. The following symptoms are also found:
All local sites, including localhost (even static pages), cannot be opened. Not to mention opening a project with Vs.net.
And I tried the following to no avail:
1. Run iisreset
2. Run Aspnen_regiis
3. The IP Address property in the IIS property settings is assigned to something.
(XXX, the solutions offered by those in the forums don't help at all, and the ones I've found with similar problems don't have a problem.) Really hate those who simply provide answers blindly for scoring purposes. Some people even want to say one thing: Reload IIS, reload the system.
Of course, not all people will do this, good people still have, I finally also in a foreign forum to get the revelation to solve the problem, but the unhealthy situation in the domestic forum people hate it
At last I came across a foreign forum and got this hint:
In the IE properties setting, in the Advanced tab, there is one item: "Show friendly HTTP error messages"
I uncheck this option. Retry, the error message becomes:
[Code=cant_connect_loopback] Cannot connect due to potential loopback problems
This is a good progress, and then continue to search for new keywords in google: code=cant_connect_loopback, and finally in a post to be prompted, may be connected with the IE options.
Suddenly awakened, I have encountered some inexplicable problems, but also in the connection set up a proxy server relationship. And today in the education network in the foreign website set up a proxy server, and that server's proxy port is exactly 80.
Remove the proxy server, the problem is solved!
Summary:
1. The most important lesson is that you should check your proxy server settings later if there are some inexplicable errors in IIS.
2. Although I initially got the wrong hint: HTTP 500-internal server error, I got a more detailed error code after I removed the "Show friendly HTTP error message". I also encountered many people have HTTP 500-internal server error message in the process of this online search, but may each person more specific error is different, cannot blindly credulous others ' suggestion.
Important statement:
My problem is to troubleshoot the HTTP 500-internal server error by removing the proxy server's settings. may not be effective for your problem.
My advice: Remove the "Show friendly HTTP error message" In "Ie-> advanced" and use Google to search for more specific error codes.
P.s. This is just some of my own experience in solving problems. If there are any irregularities, please note that. My Blog:http://www.cnblogs.com/allenlz