I'm working with Visual Studio 2012 and when I wanted to check in my pending changes (on TFS 2010), all of sudden VS loses its connection with TFS and says (on the Team Explorer window): "HTTP Code 404: not found". The option to check in (or to shelve) is disabled. When I try to refresh the source control explorer window, it briefly shows my folders, but then closes it again (saying it was disconnected with TFS). The funny thing is that I still can get the latest version from TFS and even see my pending changes, but when I try to check these in or shelve my pending changes, it loses the connection.
I tried looking for an answer on Google, but the only answer I found was clearing the TFS cache at C:\Users\\Local Settings\Application Data\Microsoft\Team Foundation\4.0\Cache or starting up VS with the VS command prompt with the command "devenv /ResetSkipPkgs".
I'm clueless. Thanks in advance!