Behold the turtle

jb's Blog

"behold the turtle, he only makes progress when he sticks his neck out"
The directory name is invalid 16 Dec 2007 14:10

So I ran into an annoying issue earlier - ran an svn update over our core repository and a few seconds later heard Tortoise screaming because it couldnt access one of the directories down the tree (inaccessible).

Drilling down on the tree I saw that I had a corrupt directory - bah. So I schedule a chkdsk and reboot. Chkdsk runs away and reports no errors. Eh? Oh well, continue on with the reboot and then go to dispose of the directory and refresh it from Subversion. Except that when I tried to delete (or access) the directory now I get the error "The directory name is invalid".

So what to do? Well after trying a few approaches I thought I would give Unlocker a try - running it reported no locks, but it offered to help anyway so I asked it to delete the directory and what do you know, it sorted it :)

Previously you may have (like me) only seen Unlocker used to remove locks on files etc, but its very interesting (and useful) that it can cater for these types of issues as well.

Nice!


comments

history


2006 (47)
2007 (79)
January 2008 (5)
February 2008 (17)
March 2008 (7)
April 2008 (4)
May 2008 (1)
June 2008 (6)
August 2008 (1)
September 2008 (1)
October 2008 (11)
November 2008 (1)

blogs i read


John-Daniel Trask
Andrew Peters
Ivan Towlson
Josh Robb
Chris Auld
Ivan Porto Carrero
Darryl Burling
Nigel Parker

links


Mindscape
Intergen
Microsoft Regional Director Microsoft MVP - SQL Server

RSS Feed rss feed