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".
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.0\Common7\IDE\devenv.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:\Users\username\AppData\Local\Microsoft\VisualStudio\version 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.0\Common7\IDE\devenv.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 Studio\2017\Professional\Common7\IDE"
Deleting all files in ComponentModelCache folder worked for me
For Visual Studio 2013:
"C:\Users\username\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache"
For Visual Studio 2015:
"C:\Users\username\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache"
or
%userprofile%\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
If you get this issue in VS2015 and running "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv" /setup doesn't fix you issue you can try the following:
Close all instances of VS
Delete all files in C:\Users\\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
run "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv" /setup
This happend also with my installation of VS '13 when I installed VS '15.
Removing the files at
"C:\Users\username\AppData\Local\Microsoft\VisualStudio\12.0\ComponentModelCache"
did the job for me.
I encounter the same problem with you, and resolved by run the VS as administrator
Here are the steps I followed. Please make sure you follow them in correct sequence. These steps are for VS 2015. Use 12.0 (instead of 14.0) for VS 2013 and 10.0 for VS 2010
Close all instances of VS
Delete all files in C:\Users{UserName}\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache
Delete the folder C:\Users{UserName}\AppData\Roaming\Microsoft\VisualStudio\14.0
run "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv" /setup in a command prompt as administrator
Related
I installed the free version of ApexSQL which is awesome in SSMS, but I really don't want all those menus in Visual Studio. I went to add-in manager and unchecked them, but the Startup column is checked and disabled so every time I restart Visual Studio they come back.
Is it possible to permanently remove the ApexSQL menus from Visual Studio?
If you have ApexSql installed and you don't want those pesky menus in Visual Studio do 2 things.
In Visual Studio, go to Tools > Add-in Manager and uncheck the ApexSql addins. Close Visual Studio.
In Windows 7, there's a hidden folder C:\ProgramData. In Windows Explorer go to C:\ProgramData\Microsoft\MSEnvShared\AddIns folder. Edit each of the *.MsvsLoader.Addin files and set <LoadBehavior> to 0. If you can't save the files directly, you'll have to save the files to a different location (desktop maybe) and then copy them back into C:\ProgramData\Microsoft\MSEnvShared\AddIns because there's some Admin privilege required.
Now when you restart VS those ApexSQL menus should be gone
The issue of crowding menus is resolved in latest releases, now all ApexSQL add-ins are under the main ApexSQL menu as sub-menus. They look like this now:
If you don't need ApexSQL add-ins in VS or SSMS you can simply choose not to integrate them with VS or SSMS during the installation, just check out SSMS ot VS version in which you want the add-ins integrated
Note: To get this dialog in which you can check the wanted integration you need to use individual installers not the main one. You can find all individual installers on this link
Disclaimer: I work for ApexSQL as a Support Engineer
For Visual Studio 2010 on Windows 7, I attempted #Chris Bayles suggestion and do not see ApexSql addins under Tools->Add-in Manager.
I followed #Jerome2606's pointer to https://knowledgebase.apexsql.com/remove-add-ins-just-visual-studio-retaining-sql-server-management-studio/ and it worked for me, but only when I removed the parent ApexSQL folder as well.
Summary of what is required to do:
Remove folder
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\ApexSQL
Depending on the version of Visual Studio, the version number in the default installation location will be different:
Product name Version number
Visual Studio 2010 Microsoft Visual Studio 10.0
Visual Studio 2012 Microsoft Visual Studio 11.0
Visual Studio 2013 Microsoft Visual Studio 12.0
Visual Studio 2015 Microsoft Visual Studio 14.0
Select and delete the ApexSQL folder and its contents.
Open Command Prompt as an administrator, then run
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe" /setup
Please note the command is different for Visual Studio 2012, 2013, and 2015.
If you are using SSMS v18.0 then you can disable the apex features in following way.
You can find the ApexSQL.Complete.Addin.SSMS18.pkgdef file from following path.
C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Extensions\ApexSQL Complete
Then open this file in Notepad++ Administrator mode and comment the content.
If you need further reading follow this link.
https://knowledgebase.apexsql.com/remove-apexsql-tools-sql-server-management-studio/
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.
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.
I had the same error in Visual Studio 2013 and tried:
Control Panel → Programs .... → Visual Studio → Repair
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
I had this error on Visual Studio 2013 Ultimate - Windows 8:
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
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.
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.
Running Visual Studio as administrator resolves this for me.
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.
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.
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.
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
After installing Visual Studio 2010 Premium and trying to start it, following error message pops up:
Program can't be started, ATL100.dll is missing. Reinstall program to solve the problem.
I searched for the ATL100.dll and found it in:
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\ia64\Microsoft.VC100.ATL"
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x64\Microsoft.VC100.ATL"
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x86\Microsoft.VC100.ATL"
Copying the file to "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE" also won't work.
Any tips how to fix this problem so i can start VS 2010 ?
If ATL stands for "Active Type Library" then it could be some helper DLL for it. Because ATL also is a COM based framework, it could be necessary to register the DLL. Copying would not work in that case.
regsvr32 ATl100.dll
Just a hint for the next time.
FYI,
I had same problem.I couldn't run both Visual Studio 2010 (SP1) and 2012 (U1) due to same error.
I could fix by just repair/reinstalling Visual Studio Service Pack 1.
Here are details.
Repair/Reinstall Visual Studio 2010 -> didn't help
Reinstall Visual Studio 2010 Service Pack 1 -> fixed the problem of VS2010, but VS2012 still had problem
Reinstall Visual Studio 2012 Update 1 -> fixed the problem of VS2012
During no. 3, I couldn't see any GUI. So I just pressed enter key after launch the Update 1 setup.
It'works. I re-reinstalled it and deselected all C++ components during the installation.
I've installed ReSharper 5 on two installations of Visual Studio 2010 Professional. In both cases, ReSharper claims it has installed successfully - but Visual Studio doesn't recognize the extension. It doesn't show up in the Extensions Manager, doesn't appear in Help - About - Installed products, and can't be found anywhere else in the environment.
I've tried install / uninstall of both Visual Studio and ReSharper, computer restarts, etc. Both machines have Visual Studio 2008 and ReSharper 5 works fine in these IDEs, and both machines are running Windows 7.
I've found other people online with this issue, but no solutions. Anyone know how to fix this?
Check that ReSharper is enabled in Tools->Options->ReSharper. Suspend and unsuspend it, in case that helps (I've heard that work before). Note that ReSharper will notice if more than one computer on a given network is running the same license, and disable all but one of the instances that are running. Check that hasn't happened to you.
Run devenv /resetskippkgs, solved my issues in Visual Studio 2008
I've fixed the problem by just copying the JetBrains folder from other version of Visual Studio:
This is visual studio 2010 folder for extensions:
c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\Extensions\
This is visual studio 2012 folder for extensions:
c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\
I just copied from 2012 folder the 'JetBrains' and pasted to the 2010 extensions folder.
I can't publish in 2008, I was previously using 2005 and it published just fine.
Error 2 An error occurred while signing: SignTool.exe not found.
I know there are tons of hits for a search on signtool.exe on google. The ones I've found involve copying the file to X,Y,Z locations and ensuring signtool matches up with your VS command prompt path.
When I run my start-> program files -> visual studio 2008 -> Visual Studio Tools -> Visual Studio Command prompt. and type signtool.exe it finds the file just fine.
I have Visual Studio 2005 professional edition, Visual studio 2008 profession edition,
Visual studio 2005 SDK February 2007, just installed Visial Studio 2008 SDK1.1 to see if that would fix it, no luck.
I have copied signtool.exe to lots of places that were suggested on the google searches, it is now located at all of the following:
C:\Program Files\Visual Studio 2005 SDK\2007.02
C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools
C:\Program Files\Microsoft Visual Studio 9.0\VB\Bin
C:\WINNT\Microsoft.NET\Framework\v3.5
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin
C:\Program Files\Microsoft Visual Studio 9.0\SDK\v3.5\Bin
C:\Program Files\Microsoft Visual Studio 9.0\VB\Bin\1033
C:\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Tools\Bin
I'm on windows XP
2009-06-12 update
I can only publish if I copy signtool.exe to the project folder I'm publishing now.
Replace signtool with "$(FrameworkSDKDir)bin\signtool" with the quotes and see if it works. It tried this now on Visual Studio 2008 Express Edition.
N.B: I have been using same command on VS 2005 for signing the binaries.
This may help some one else....
I got round this problem by going to the signing tab and unchecking the Sign The ClickOnce Manifests option and now it works...
I guess that doesn't FIX the problem..but it gets around it allowing you to publish your application with out the Signtool.exe File.
This may help some one else.... I got round this problem by going to the signing tab and unchecking the Sign The ClickOnce Manifests option and now it works...
that one doesn't worke for me, because every time I uncheck the signing (and save the config) Visual Studio checks it back on.