"Unable to retrieve project files from web server" SOLUTION

Source: Internet
Author: User

 

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.