Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
645 views
in Technique[技术] by (71.8m points)

tfs - Visual Studio - Page not found

Today I selected "Work Items" as I have a million times before but this time I was met with this error along the top of my "Team Explorer" tab:

"Page [some long GUID] not found."

This also happened for "Pending changes".

question from:https://stackoverflow.com/questions/21892460/visual-studio-page-not-found

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

To fix the issue simply run the below command in an elevated command prompt as detailed here.

"C:Program Files (x86)Microsoft Visual Studio 12.0Common7IDEdevenv.exe" /setup

My understanding is this command forces the recreation (what Microsoft refers to as "merging") of current VS settings into what is apparently a corrupt settings cache. On the surface, this is similar to deleting the directory path C:UsersusernameAppDataLocalMicrosoftVisualStudioversion and allowing visual studio to recreate it at launch. However, I prefer to not to delete this outright and instead rely on re-merge approach.

Recently I found this sometimes occurs when I launch several solutions at once (i.e. I have 1 or more Visual Studio instances loading a solution at the same time). I also have ReSharper, SQL Prompt, VSCommands and TFS Power Tools installed which I'm sure contribute to some degree.

UPDATE:

This fix should work for all versions of Visual Studio, however you will need to execute the command in the directory appropriate to your version. For example with Visual Studio 2015 the path would be:

"C:Program Files (x86)Microsoft Visual Studio 14.0Common7IDEdevenv.exe" /setup

Version mappings for Visual Studio (original version mapping answer here):

  • Visual Studio 2005 = 8
  • Visual Studio 2008 = 9.0
  • Visual Studio 2010 = 10.0
  • Visual Studio 2012 = 11.0
  • Visual Studio 2013 = 12.0
  • Visual Studio 2015 = 14.0
  • Visual Studio 2017 = Path has changed to: "C:Program Files (x86)Microsoft Visual Studio2017ProfessionalCommon7IDE"

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...