Fault symptom
:
When you open an ASP. NET Web project or create a project, the following error occurs:
Solution:
Go to "C: \ Documents and Settings \ your USERNAME \ VSWebCache \ computer name \" and delete the folder with the same name as this project.
Analysis:
When you create an ASP.. NET Web project,. NET will automatically create a folder with the same name as the project in VSWebCache (if such a folder already exists,. and create a file (project name) in the folder. csproj. user) and ASP.. NET (a copy is an empty directory that does not contain any files ).
When you open ASP. NET Web project,. NET will read the folder in VSWebCache with the same name as this project. If the ing path of the folder in VSWebCache is. the preceding error message is displayed when the NET Web project is different. In this case, the problem can be solved only by deleting the folder with the same name in VSWebCache and re-creating VS. NET.
TIPS:
1. VSWebCache is used to support offline development of ASP. NET Web applications. Assume that you have implemented ASP on a WEB server. NET project development. For some reason, you can only perform offline development on your laptop. In this case, you can use.. NET. Open this project on your laptop. In VS. NET, select "project" = "Web project" = "offline work ". At this time, VS. NET will copy all project files to VSWebCache. In this way, you can open the project file in VSWebCache for development offline. When online, select "project" = "Web project" and select "Synchronize all folders" to copy the content developed offline to the server.
2.. NET uses FrontPage server extensionsg to communicate with the Web server,. NET cannot directly modify files in the Web server, so. NET uses VSWebCache as a transfer station, puts the edited and compiled files in VSWebCache first, and then uploads the files to the server through FrontPage server extensionsg.