I get the error "The device is not ready" when I open visual studio, and also when I try to interact with TFS (check in, get latest, etc.)
I have tried the following to correct the issue with no luck in resolving it:
What device is not ready? How can I make it ready or otherwise correct this error? I'd prefer to not reinstall my OS, but I will if I need to.
This is (mostly) caused when the location your workspace is pointed to is no longer available.
All you need to do is reset the workspace (
)
I think this sort of thing can be caused by a no-longer-accessible drive. Here's something to try: Clear out your Most Recently Used project and file lists:
regedit
.HKCU\Software\Microsoft\VisualStudio\11.0\ProjectMRUList
.HKCU\Software\Microsoft\VisualStudio\11.0\FileMRUList
.If that doesn't work, have a look through the other items in 11.0 and under it, looking for no-longer-valid directories. Here are some other nodes to look under:
...and there are probably several others, but at this point I got bored with looking. Anyway, look through the various nodes for a network location or removable drive that doesn't exist anymore, and get rid of that path or point that path elsewhere, and see if the problem goes away.
I recently had a HDD fail, which I managed to repair. In doing so, the drive letter changed. I changed the letter of the drive back to its original letter designation, and this issue no longer occurs.
I just had the same problem. I had clicked the button that was asking me to upgrade to a local workspace. After I did that I was getting the 'device not ready error' anytime I tried to do anything with TFS. The response marked as an answer did not help me. I had to completely remove the workspace (via the menu described in Olivier's answer) and then re-add a new workspace.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With