RobLog

Web Design in the World of .NET (C# and VB.NET, XML, and Javascript). I learned how to program from TheDailyWTF.com!
posts - 140, comments - 129, trackbacks - 5

My Links

News

Main Site Cert Corner Goals About Me

Article Categories

Archives

Post Categories

Image Galleries

.NET

Personal

WOW


Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

If you look up this error, some sites will tell you that it has to do with Visual Source Safe and/or a “.” prefixing a folder name. 

I have visual source safe installed, but I was not using it on the particular project I was working on.  I looked and I didn't have any folders with a “.” prefix (i.e. “.foobar”) contained in the project that was causing the error.

Visual Studio creates a VSWebCache Folder under “C:\Documents and Settings\username”.  Find this folder and delete it. Yes, the entire folder.  It's purpose is to cache folder structures (and some files) so that Visual Studio can load projects faster.  It recreates itself on the next opening of a project and the error goes away.  No harm done.

  1. Make sure Visual Studio .NET is not open.
  2. Navigate to Your Projects Folder (all of the places you keep projects).  The two most likely places are “C:\Inetpub\wwwroot” and “C:\Documents and Settings\username\My Documents\Visual Studio Projects“.
  3. Enable the option to view Hidden Files and Folders. “Tools, Folder Options..., View (tab), Show hidden files and folders (click next to it), OK (click).“
  4. This is the fun part, and likely to take some time.  Look through all of your projects and rename any folders in projects that have names that start with “.“ (period). 
  5. Navigate to your “Documents and Settings“ folder (most likely C:\Documents and Settings) and open the folder for your username (i.e. Robz).
  6. Find the Folder named “VSWebCache“ and delete it.
  7. Reopen Visual Studio .NET and open a project.
  8. Verify that the VSWebCache folder has been recreated in the same place it was deleted from.
  9. Disable the option to view Hidden Files and Folders (if you wish).  Follow the same steps as in 3, but click “Do not show hidden files and folders”.

An alternative to steps 3,4, and 9 (and to save precious time) would be to wait until the error comes back and then determine what projects are being held in the VSWebCache folder and follow steps 3,4 and 9 for just those projects in the VSWebCache.  Then continue the instructions at step 5.

These instructions are for Windows XP.  Directions for other OSes may differ just slightly.

The most relevant information I found came from this post: P2P Wrox Forums.  Special thanks to Richard Acton for pointing this out in his blog. 

posted on Friday, November 05, 2004 11:52 AM

Feedback

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Hi,

And when the project is under version control with SVN and/or Tortoise SVN ? The key concept of this versionning system is based on hidden folders called .svn

Yeppeee

Eric
11/10/2004 9:42 AM | Eric Piraux

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Eric,
Have you had problems with this kind of thing? I found the project of mine that was causing the problem because it came back. After deleting the VSWebCache it removed the problem again.

I would like to know if you are currently experiencing this kind of thing. I think a short term fix would be to delete the VSWebCache before you open the project every time. Maybe there is a way to turn it off.

I see under Tools, Options, Projects (Tab), Web Settings, Offline Projects Section, there is a section that lets you specify the location of the web project cache. Unfortunately it won't let you leave it blank. I did a quick google search and I don't find anything about how you may turn it off. Perhaps there is a way to open all projects onlne and not use offline caching.
11/11/2004 2:51 PM | Robz

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thanks, this worked to resolve the problem for me. I didn't have any files/folders prefixed with "/" or ".", but I was continually getting the error posted.
11/11/2004 3:32 PM | Dustin Woodhouse

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thanks for the info. I am using Visual source safe with our web application. And this problem just suddenly started happening. After deleting the VSWebCache folder the problem was solved. Thanks, it was starting to get really annoying
11/30/2004 9:44 AM | Larry George

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thank you for the help; worked great!
12/16/2004 11:03 AM | Bill

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

"It recreates itself on the next opening of a project and the error goes away. No harm done."

Apparently unless you do offline development:
http://www.ftponline.com/vsm/2003_01/online/hottips/kiely/

Most of us probably never use the offline stuff, but those who do might want to tread lightly around the cache.
12/17/2004 2:41 PM | Matt Schuette

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thanks for the tip.
12/21/2004 10:30 AM | Brian

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Another windows annoyance defeated. Thank you.
1/11/2005 8:50 AM | Jman

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Hi, i'm using tortoise svn, my project just worked when i open the solution(.sln) for my project.
Cheers
Hlov
1/26/2005 2:40 AM | hlov

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thanx for the help
2/4/2005 9:09 AM | Anjum

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thanks! this worked!
4/16/2005 5:25 PM | c121hains

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

For those of you using TortoiseSVN there is an "unsupported" version of tortoiseSVN that is always released side by side with the supported release that uses "_svn" directories instead of ".svn" specifically for visual studio support.
4/21/2005 5:51 PM | Chris D

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thanks the trick works
5/4/2005 6:38 AM | Kiran Chhabra

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Thank you so much. That was hell of annoying :).
11/15/2005 10:21 AM | Christian Blackburn

# Very helpful

Very helpful
5/11/2008 8:53 AM | nike air force ones

# test

thank you
6/4/2008 11:54 AM | me

# Subversion .svn vs. _svn

I had this same problem while developing a web service using subversion. As of version 1.3, subversion officially supports "_svn" as an alternative to ".svn". You can choose this on install. But if you need to change after install, follow these steps:

1. add SVN_ASP_DOT_NET_HACK to your environment variables (any value is ok)
2. restart the shell (restart)
3. rename all your old .svn directores to _svn

Step 3 can be a pain. The documentation suggests that you re-check out all your old projects. I wrote a batch script to rename all the directories and everything is working fine. See below for my script.

-- file: undotsvn.bat --
dir /s /b /a .svn > dot_svn_files
for /f "delims=," %%i in (dot_svn_files) do attrib -h "%%i" && rename "%%i" _svn
dir /s /b /a _svn > dash_svn_files
for /f "delims=," %%i in (dash_svn_files) do attrib +h "%%i"
del dot_svn_files
del dash_svn_files

6/4/2008 11:54 AM | Cod3 Monk3y, Inc.

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Blood rushing to the nipples. That’s exactly how Carly Cooper felt when she saw Nick. No, I mean Doug. Wait a minute, wasn’t it Joe? No, it’s Sam!! Or was it Phil?
http://mistoru.com
http://farmostok.com
http://vistorg.com/index.php?sm=1
Meet Carly Cooper, a 31 year old single woman who is totally depressed about the desperate state of her love life. Having been engaged no fewer than four times, she veers from relationship to relationship in search of Mr. Perfect, always optimistic that the next man will be The One.

Well, always optimistic until now, that is anime .
7/18/2008 5:03 AM | farmostok

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Awesome, a post 4 years old. that's a lot!!
12/12/2008 10:07 AM | Suzuki gsxr Fairings

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

my problem not solved I am using .svn it get still error, please give me step
by step
1/29/2009 4:06 AM | kunal

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

my problem not solved I am using .svn it get still error, please give me step
by step
1/29/2009 4:06 AM | kunal

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

my problem not solved I am using .svn it get still error, please give me step
by step
1/29/2009 4:06 AM | kunal

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Very helpful, easy to follow. thanks,
7/9/2009 4:50 AM | air force 1

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

Nice job, Thanks for sharing.
7/9/2009 4:52 AM | Air Jordan Force

# 2009 shoes

Where there is a will there is a way
<a href="http://www.eshooes.com">Puma shoes</a>
<a href="http://www.eshooes.com">nike">http://www.eshooes.com">nike max shoes</a>
<a href="http://www.eshooes.com">nike">http://www.eshooes.com">nike shox shoes</a>
<a href="http://www.eshooes.com">Ugg Boots</a>
9/7/2009 2:51 AM | god bless you

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

werewr
9/18/2009 5:33 AM | ewrewr

# re: Visual Sasdfo .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

As we know good shoes can make you a good time .The <a href="http://www.ugg-bag.com/"><strong>ugg boots</strong></a>are good choose.may be someone like <a href="http://www.nk4u.com/"><strong>nike shoes</strong></a>.Everyonemusthavedressthemselves.So<a href="http://www.tiffanyhot.com/"><strong>tiffany</strong></a> is a amazing for you.but<a href="http://www.edhardybazar.com/"><strong>ed hardy</strong></a> will make you crazy.
9/21/2009 3:20 AM | sadf

# alinkes

bellbestugg.com.Top quality, Competitive price, Fast shipping, Combined order, Drop shipping available, Best and Timely Service, 100% Satisfaction, Big discount for big order. From Internationa-acschina. Note: The logo we using is International Australia boots from Dhgate ID acschina.
www.bellbestugg.com
Top quality 100% Satisfaction guaranteed.
Highest quality genuine Made from Top quality Australia Twin-faced Merino sheepskin.
It come with origanal box care card and booklet
<a href="http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg suppliers</a>,
<a href="http://www.bellbestugg.com/">woman ugg boots</a>

Product Details
Twin-faced grade A sheepskin with suede heel guards
Approximate boot shaft height: 8"
Top quality Genuine Australia sheepskin sock wicks moisture away
Flexible, lightweight molded EVA outsole.http://bellbestugg.com
<a href="http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg handbags</a>,
<a href="http://www.bellbestugg.com/">Wholesale ugg boots</a>
Comfort & fit
fotwear should be worn barefoot to maximize the benefits of sheepskin, should be comfortably snug so they can mold to the shape of your foot, will keep your feet at body temperature in cold or hot climates.

Care & cleaning
Apply small amount of Sheepskin Cleaner to a clean sponge or soft brush.
Clean entire area thoroughty and eventy.
Rinse clean in cold water.
Reshape by stuffing with paper towel.
Allow to dry naturally and slowly, do not dry in direct heat or sunlight.
<a href="http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg shoes</a>,
<a href="http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg boots</a>,
<a href="http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">ugg">http://www.bellbestugg.com/">uggs</a>
9/27/2009 9:03 AM | alinkes

# Hello,are you a lover of sports shoes

http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=571
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=664
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=663
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=572
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=666
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=635

http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=610
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=665
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=641
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=644
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=654
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=656
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=657

http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=658
http://www.we-sell-shoes.com/class.asp?lx=small&anid=62&nid=651
http://www.we-sell-shoes.com/class.asp?lx=small&anid=63&nid=661
http://www.we-sell-shoes.com/class.asp?lx=small&anid=63&nid=667
http://www.we-sell-shoes.com/class.asp?lx=small&anid=63&nid=662
http://www.we-sell-shoes.com/class.asp?lx=small&anid=63&nid=652
http://www.we-sell-shoes.com/class.asp?lx=small&anid=79&nid=637
10/12/2009 7:30 AM | mindy

# re: Visual Studio .Net 2003 Error: "Refreshing the project failed. Unable to retrieve folder information from the server."

http://www.uggbootsstore.net
11/11/2009 3:04 AM | UGG

Post Comment

Title  
Name  
Url
Comment   
Protected by Clearscreen.SharpHIPEnter the code you see: