VS2003 Bug "刷新项目失败,无法从Server获取目录信息"

VS.NET 2003, VSS 6.0d and the "Refreshing the project failed. Unable to retrieve folder information from the server" error

Refreshing the project failed. Unable to retrieve folder information from the server

I've been using Visual Source Safe 6.0d with Visual Studio.NET  2003 for some time, but just lately I have been receiving the above error message. It hasn't caused me any problems so far but this morning I thought i'd do some digging to try and find a fix to this irritating message box that appears every time I load my VS solution.

I'm working against a remote dev server built on Win 2000 server and IIS 5 (all patched, and service packed up).

After some Googling I found that there is indeed a bug with VS.NET that will cause this message box if you have a folder named with a preceding '.' (e.g. c:\.foo\ ) - this seemed to be the for users controlling their source with an application called SubVersion. I'm not using SubVersion, so I carried on digging.

I came across this post on the Wrox forums and although it doesn't explain too much, it does in fact work!

I browsed to my Documents and Settings user folder (c:\Documents and Settings\actrw001\) and found the subdirectory, \VSWebCache . Upon opening this directory you are listed with another set of folders named after each server VSS has connected to. I took a chance and deleted the folder named the same as the server that i'm currently working on. Risky yes, but the rewards have been great. No more message box.

I should also clarify that my project does not contain any folders with the . prefix.

posted on Monday, October 18, 2004 10:32 AM

posted on 2005-09-16 17:39  吹雪  阅读(1336)  评论(0编辑  收藏  举报

导航