When you try to create a project or open a web project at URL "http: // localhost:/file name", the web server reports the following error "http: // 1.1 400 bad request ".
How can this problem be solved?
. Your web server uses a fixed IP Address: Make sure that "Default web site" is used in your "Internet Information Service" and the IP address in its attribute is "(all unallocated )", instead of the IP address you have specified. Then try again in vs. Net, which may solve the problem.
2. When the above method cannot solve the problem, consider the solution in msdn as follows:
Visual Studio. NET cannot determine whether ASP. NET 1.1 runs on the Web server computer. This error may occur in several different situations. Check whether the following conditions exist:
A. Make sure that. NET Framework 1.1 is installed on the Web server computer. For more information, see Visual Studio. NET software requirements.
B. If ASP. net has been installed on the Web server computer but still encounters this error, it may be a configuration problem. To correct problematic installation or configuration, you can use the ASP. NET utility named aspnet_regiis. You can find this command line utility in a path similar to the following:
C: \ windows \ Microsoft. NET \ framework \ v1.1.nnnn \
NNNN indicates four internal versions. Search for the maximum version number. Use the/I switch to run the utility:
Aspnet_regiis/I
Prompt that you can open the command window directly from the correct directory of the command. From the "Start" menu of windows, point to "program", "Visual Studio. NET 2003", "Visual Studio. NET tool", and select "Visual Studio. NET command prompt ". After the window opens, type aspnet_regiis/I.
-------------------------
(Not Sure)