Problem: When opening the VS. NET project, the following error occurs: "The project file cannot be obtained from the web server"
Solution:
1. Make sure that there is no project with the same name in your IIS;
2. Find "C: \ Documents and Settings \ your USERNAME \ VSWebCache \ computer name \" and delete the folder with the same name as this project. This file is an impression file generated when we mistakenly create a WEB directory to see if it exists. If it exists, it will be deleted;
3. Check out the content in your project named ***. csproj. webinfo.
<VisualStudioUNCWeb>
<Web URLPath = "http: // localhost/RPM03x0/WorkFlow. csproj"/>
</VisualStudioUNCWeb>
If the project virtual directory name is different from the one set here, the error you described will usually occur .. Just change it to the same one.
4. If you create a solution, create multiple projects in the solution, and ensure that the configuration in the ***. sln file is correct:
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project name 1 ",
"Http: // localhost/solution/project name 1/project name 1. csproj", "{2C8FD11D-8EC7-422A-87F0-E98FDE7E070E }"
ProjectSection (ProjectDependencies) = postProject
EndProjectSection
EndProject www.2cto.com
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project name 2 ",
"Http: // localhost/solution/project name 2/project name 2. csproj", "{F4E0337F-534D-4E73-A9D0-05D3C957044A }"
ProjectSection (ProjectDependencies) = postProject
EndProjectSection
EndProject
Project ("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Project name 3 ",
"Http: // localhost/solution/Project Name 3/Project Name 3. csproj", "{34D91D78-461E-404D-8116-37D0BB9039C9 }"
ProjectSection (ProjectDependencies) = postProject
EndProjectSection
EndProject5. If none of the above works, select C: \ inetpub \ wwwroot.
6. No more. reinstall the system.