Fault phenomenon:
When you open the ASP.NET web project, if such an error message appears: Tip Title: Web Access Failed Tips: This item's default web access mode is set to file sharing, but cannot be from the path ... "Open" Project folder at ... ". The return error is: WEB project "" ". The return error is: Unable to open the web project "...". File path "..." "" is not in conformity. Both needs to be mapped to the same server location. HTTP error 404: Not found ...
Approach:
To "C: / Documents and Settings / Your Username / Vswebcache / Computer Name /", delete the folder with the same name as the project.
analysis:
When you create a new ASP.NET web project, VS.NET automatically creates a folder that is the same as the project with the project (if such a folder is already existing), and the folder is updated in this folder. Create a copy of a file (project name .csproj.user) and all directories in the ASP.NET Web project (copy is an empty directory, does not contain any files).
When you open the ASP.NET Web project, VS.NET reads the folder of the same name with the project in vs.Net. If the mapping path of the folder in VSWebCache is different from this ASP.NET Web project, the above error message will appear. . At this time, only by deleting the same name folder in vsWebcache, let VS.NET re-build one can solve the problem.
tips:
1. The role of vsWebcache is to support offline ASP.NET Web applications. If you have developed on a web server, now because some reasons can only be developed offline on your laptop, then you can use vs.net's web offline development function. . Open this project on your own laptop, in vs.net, select "Project" = "" = "" Offline Work ". At this time, VS.NET copies all project files to vsWebcache. This way you can develop by opening the project files in vsWebcache in an offline situation. When online, select "Project" = "" Web Project "Select" Sync All Folders "to copy the contents of the offline development to the server.
2, VS.NET uses FrontPage Server Extensionsg to communicate with the web server, and vs.net cannot directly modify files in the web server, so vs.net uses VSWebcache as a transfer station, and puts the edit and compiled files in vsWebcache. Then uploaded to the server via FrontPage Server Extensionsg.
Small problem: The information in this prompt window pops up in vs.net cannot be copied by Ctrl C.
Reference article: http://www.ftponline.com/vsm/2003_01/online/Hottips/kiely/default.asp