61

When I click on the home-icon of Team Explorer, I get the following error:

Page '312e8a59-2712-48a1-863e-0ef4e67961fc' not found instead of all the options.

I have this error since I reinstalled the Visual Studio 2012 Ultimate trial and installed the Visual Studio 2012 Premium edition. Repair and reinstall didn't work out.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
henkieee
  • 1,123
  • 1
  • 8
  • 10

10 Answers10

119

To fix this, run this from the Visual Studio command prompt as administrator:

devenv /setup

It will not mess up your environment, and you can just continue to use Visual Studio afterwards was my experience.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Filip Cornelissen
  • 3,682
  • 3
  • 31
  • 41
  • solution here http://connect.microsoft.com/VisualStudio/feedback/details/768836/page-312e8a59-2712-48a1-863e-0ef4e67961fc-not-found-vs-2012-premium – Khaled Feb 17 '14 at 17:22
  • This just happened to me after I installed TFS Sidekicks. Running "devenv /setup" took just about a minute and completely solved the problem. – afeygin Apr 10 '14 at 20:44
  • Happened for me after installing the latest version of Xaml Spy. This command fixed it. – yourbuddypal May 14 '14 at 17:59
  • Happened to me after installing codemaid on VS2013. Thanks heaps for the fix. – Scott Baldwin Jun 13 '14 at 04:55
  • Happened for me when applying the latest SSDTSetup.exe as advertised from VS2013. This solved it. Thanks. – gimlichael Jul 15 '14 at 14:40
  • Phew, that saved me from re-install – fenix2222 Oct 31 '14 at 00:55
  • Worked for me after a update messed up my VS :-) Thanks – Christian Flem Dec 02 '14 at 08:38
  • happened to me when I upgrade nuget pcks, command fixed, thanks! – st35ly Dec 16 '14 at 01:57
  • I'll continue the endless list of reasons of this issue =). For me it happened after the new year and simultaneous expiration of Telerik Dev Craft. Not sure which of those is the exact reason. Solution worked, thanks. – Sasha Jan 02 '15 at 11:03
  • Typical location: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe – The Senator Jan 19 '15 at 13:47
  • 3
    Stupidly enough, running `devenv.exe /setup` gives a completely different behaviour to running `devenv /setup`. – nathanchere Aug 26 '15 at 09:04
  • 2
    Had the issue after installing VS 2015 pro update 1, in cohabitation with VS 2013 Ultimate. Issue solved. :o – Antoine Meltzheim Dec 04 '15 at 10:38
  • I had the issue after installing VS 2015 Pro Update 1 - command above didn't help - not even multiple times, not even after restart – rudolf_franek Jan 12 '16 at 16:28
  • As noted in an answer bellow, you may need to run the Developer Command Prompt item and not the others. Using that command prompt item seems to have fixed the issue on my work machine, which is running VS 2013 Ultimate, despite the command prompt window indicating the operation couldn't be completed as I didn't have the right access level to run it. – MattD Apr 13 '16 at 15:13
  • 1
    Worked in 2017 as well! – Rob Sedgwick May 15 '20 at 12:00
31

I had the same error in Visual Studio 2013 and tried:

Control PanelPrograms .... → Visual StudioRepair

It did not work

devenv /setup

It did not work

devenv /clearcache
devenv /updateconfiguration

It did not work

And then THE solution:

  • *Close all Visual Studio instances
  • Delete the %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache folder
  • Start Visual Studio

It is explained in more detail in this blog post: When the EditorPackage does not load correctly

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
ohnezahn
  • 453
  • 4
  • 9
  • This page is also usefull: https://connect.microsoft.com/VisualStudio/feedback/details/1123745/setsite-failed-for-package-microsoft-visualstudio-editor-implementation-editorpackage – ohnezahn Mar 23 '16 at 16:28
  • The devenv setup did not do it for me... simply Repair was enough – Jowen May 18 '16 at 08:08
  • Nothing else worked for me but renaming the ComponentModelCache folder did. Thanks. – Josh Jun 30 '16 at 17:01
  • I had this same issue, different package id, and renaming the folder worked for me. thanks. – Mike May 17 '17 at 18:37
  • Worked like a charm for me. Thanks! – abel406 Dec 22 '17 at 16:11
  • This happened because I installed both Git and Visual Studio Code on top of Visual Studio 2013 (Windows 8 OS). This fix worked for me. – John C Jan 31 '18 at 20:41
6

I had this error on Visual Studio 2013 Ultimate - Windows 8:

Team Explorer Error

And I solved this problem running this command:

X64: devenv.exe /resetskippkgs
x86: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe /resetskippkgs
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
TotPeRo
  • 6,561
  • 4
  • 47
  • 60
3

I faced similar issue. Running devenv /setup did not help me.

Just wanted to share some additional info:

At first, devenv /setup did not help me as well. Then I realized that I was using the wrong Visual Studio command prompt version.

Make sure that you run devenv /setup for the appropriate Visual Studio version.

For example: for Visual Studio 2013, use the "Developer Command Prompt" under the Visual studio 2013 "Visual Studio Tools" folder.

*And like it stated in the selected answer, run as administrator.

  • Just ran into the same issue on my work machine running VS 2013 Ultimate, and running the Developer Command Prompt item seems to have worked, despite it telling me, "The operation cannot be completed. Access is denied." VS is opening projects and connecting to TFS without issues for the time being. Issue cropped up after some kind of forced system restart I wasn't made aware of. – MattD Apr 13 '16 at 15:11
1

I ran the suggested command: devenv /setup. It didn´t work for me. (Visual Studio 2015)

Then after that I tried something different:

-> Run Visual studio as administrator, after ran the command.

Then the problem was solved.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
1

Running Visual Studio as administrator resolves this for me.

Kirk
  • 13
  • 4
0

After I reinstalled my Visual Studio 2012 Trial, I've never deleted the documents directory. In this directory there were some backup files. This maybe have caused the problem.

After deleting this directory and installing Visual Studio 2012 Premium again the problem was solved.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
henkieee
  • 1,123
  • 1
  • 8
  • 10
  • 6
    I had the same exact issue. Filips solution worked for me and was far less tedious than uninstalling, reinstalling, pulling all projects back down from TFS. – dball Mar 14 '14 at 15:01
0

I faced a similar issue. Running devenv /setup did not help me.

I found Fixing 312e8a59-2712-48a1-863e-0ef4e67961fc-not-found-vs-2012. This link suggests that I might have recently installed some Visual Studio extensions, which might have corrupted the Visual Studio maintained cache. I uninstalled a couple of the latest Visual Studio extensions, and it solved the issue after Visual Studio's restart. Visual Studio is able to connect with TFS :-).

One can find Visual Studio extensions at menu Tools → *"Extensions and Updates...". Go to the "All" section under Installed section. It will show all Visual Studio extensions.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Vikrant
  • 1,149
  • 12
  • 19
0

I had a similar error, and then I tried running "devenv /setup" and no good result. That's was because you don't not trying with specific version Visual Studio command prompt. I then opened the command prompt for the specific version "Visual Studio 2013", and the problem was solved.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
0

I had the same exact issue in Visual Studio 2013. I renamed ComponentModelCache to ComponentModelCache2, and it fixed it.

C:\Users\{..}\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
amar
  • 1