Install vs2005 in Vista is actually very simple. It is the same as installing vs2005 on XP, But it prompts incompatibility during the installation process. However, it does not matter. You only need to continue the installation. After the installation is complete, you can run vs, and the speed is not slow. Of course, this is related to my machine configuration. Just a few days after my installation was successful, I was just learning ASP before I found that I could not access the ASP page after compilation, "Internet Explorer cannot display this page" is always prompted. After searching for half a day, I finally found that the ASP port number displayed in the lower right corner of the desktop is inconsistent with the port number on the browser URL, at that time, I didn't think why it was caused. I thought that I only needed to change the port to the port generated by ASP. Unfortunately, I didn't want it to be as smooth as I thought, "Internet Explorer cannot display this page" is displayed ". What exactly is this? I tried a lot of methods on the Internet, but it didn't help. On this day, I had to give up.
If you cannot access the page, you cannot. Because vs uses localost as the URL's local path to access ASP, I will change localhost to 127.0.0.1. I didn't expect to be able to browse the ASP page. If you need to manually change localhsot to 127.0.0.1 every time ASP is run, no one is willing to do this. NET development, and there is still a problem that has not been solved, that is, the production is the port number is inconsistent with the port number in the URL address, each time you have to correct the port number, it is too much trouble. Therefore, I must solve these problems.
First, let's solve the port number problem. This problem is rarely encountered. I spent several hours searching online and finally found it. My current anti-virus software is NOD32, a very good anti-virus software with a firewall. The strongest thing is that it can change some ports, prevents hackers or viruses from attacking computers through ports. Which of the following problems can be solved automatically? The problem occurs in this function. You only need to set the protocol filtering under the personal firewall in NOD32 to disabled, and the port is not modified. This problem is successfully solved.
Solve the problem that the localhost is invalid. on the Internet, some netizens said that the current user has insufficient permissions. I set the current user to run as an administrator, and the problem still exists. Finally, I found a solution that can be used. I need to find the hosts file under c: \ windows \ system32 \ drivers \ etc \ and open it in notepad, the two lines of code are displayed;
127.0.0.1 localhost
: 1 localhost
Remove the localhost after Line 2: 1 to solve the problem.