'ProviderPackage' package did not load correctly

I installed Visual Studio 2012 and later. Update 2. After installing Update 2, when loading any project, I get the following error:

---------------------------
Microsoft Visual Studio
---------------------------
The 'ProviderPackage' package did not load correctly.

The problem may be caused by a configuration change or by installing another extension. You can get more information by looking at the file "C: \ Users \ username \ AppData \ Roaming \ Microsoft \ VisualStudio \ 11.0 \ ActivityLog.xml".

Continue to display this error message?
---------------------------
Well no
---------------------------

After finding ActivityLog.xml I see the following set of errors:

 <entry> <record>300</record> <time>2013/04/23 18:32:54.002</time> <type>Information</type> <source>VisualStudio</source> <description>Begin package load [ProviderPackage]</description> <guid>{5F2E5E42-4192-4D79-A0D8-1D881E808829}</guid> </entry> <entry> <record>301</record> <time>2013/04/23 18:32:54.012</time> <type>Error</type> <source>VisualStudio</source> <description>SetSite failed for package [ProviderPackage]</description> <guid>{5F2E5E42-4192-4D79-A0D8-1D881E808829}</guid> <hr>80131522</hr> <errorinfo>Method 'GetHostedIntellisenseTypes' in type 'Microsoft.VisualStudio.Progression.DTEWrapperCached' from assembly 'Microsoft.VisualStudio.GraphProviderPackage, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.</errorinfo> </entry> <entry> <record>302</record> <time>2013/04/23 18:32:54.012</time> <type>Error</type> <source>VisualStudio</source> <description>End package load [ProviderPackage]</description> <guid>{5F2E5E42-4192-4D79-A0D8-1D881E808829}</guid> <hr>80131522</hr> <errorinfo>Method 'GetHostedIntellisenseTypes' in type 'Microsoft.VisualStudio.Progression.DTEWrapperCached' from assembly 'Microsoft.VisualStudio.GraphProviderPackage, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.</errorinfo> 

Google searches do not show an exact match for my issue. I tried to find packages on the ISO installation and cannot find the package that needs to be repaired ...

 F:\packages>dir /s *provider* Volume in drive F is VS2012_ULT_MSDN_ENU Volume Serial Number is 4A21-C8BD Directory of F:\packages\SSDT 07/26/2012 11:30 AM 780,288 DbSqlPackageProvider.msi 1 File(s) 780,288 bytes Total Files Listed: 1 File(s) 780,288 bytes 0 Dir(s) 0 bytes free 

Any other ideas?

+72
visual-studio-2012
Apr 23 '13 at 18:47
source share
18 answers

This is the answer of Aaron (Aaron Reed) from above, simply copied as an answer, not part of the question:

Fixed ... Fixed ... Fixed ...

  • Open programs and functions (run: appwiz.cpl)
  • Sorted list of installed applications: Installation date
  • Filtered list by adding "SQL" to the top right search filter
  • List item

I set VS2012 to 4/1/13, so I looked at each of the listed SQL elements in the list and right-click → Restore

From there I launched VS2012 and without any problems opened the target solution file.

My list:

  • Microsoft SQL Server 2012 Data-Tier Application Platform
  • Microsoft SQL Server Data Tools - enu (11.1.20627.00)
  • Microsoft SQL Server 2012 Management Objects (x64)
  • CLR Types for Microsoft SQL Server 2012 (x64)
  • CLR Types for Microsoft SQL Server 2012
  • Microsoft SQL Server 2012 Management Objects
  • Microsoft SQL Server 2012 Transact-SQL Compiler Service
  • Microsoft SQL Server 2012 Command Line Utilities
  • Microsoft SQL Server Data Tools Build Utilities - enu (11.1.206 ...
  • Microsoft SQL Server Compact 4.0 SP1 x64 ENU
  • SQL Server 2012 T-SQL Language Service
  • Microsoft SQL Server 2012 Native Client
  • Microsoft SQL Server 2012 Data-Tier Application Platform
  • Microsoft SQL Server 2012 Express LocalDB
  • Microsoft SQL Server 2012 Transact-SQL SpriptDom
+38
Aug 13 '13 at 17:59
source share
  • Close Visual Studio.
  • Open the developer command prompt for Visual Studio 2012 (as an administrator).
  • Type devenv /setup .
  • Restart Visual Studio.

Possible duplicate Error Visual Studio 2012: package "Visual C ++ package" is not loaded

See Visual C ++ package: failed to load ,

+104
Oct 17 '13 at 13:29
source share

It worked for me -

To fix this problem, you need to clear the Visual Studio cache:

 %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache 

Thanks for the blog post. Failed to install SetSite for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage] .

+29
Feb 17 '14 at 7:35
source share

This can usually be fixed by clearing the Visual Studio cache in:

Visual Studio 2012: %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache

Visual Studio 2013: %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache

+6
Aug 6 '14 at 5:04
source share

I fixed this by deleting or deleting:

Microsoft SQL Server Data Tools - enu (14.0.50325.0)

Hope this helps :)

+6
May 13, '15 at 15:13
source share

An even faster fix is ​​to simply restore Microsoft SQL Server to the list. This fixed my problem.

+5
Sep 13 '13 at 2:37
source share

Worked for me. Window7 SP1 + VS 2013 Open the Developer Propmpt team for VS 2012 (as an administrator). Run devenv / setup.

+5
Jan 17 '14 at 5:20
source share

Removing / restoring SQL Server Data tools is the only thing that worked for me thanks to the wayne.blackmon comment.

Image below

Delete SQL Server Data Tools

+3
Oct. 30 '15 at 9:21
source share

I had the same issue in Visual Studio 2013 for Windows 8.1.

The previous answers did not work for me. I had to repair Visual Studio and then reboot my machine.

+2
Dec 12 '13 at 17:01
source share

For me, ActivityLog.xml indicated

 <errorinfo>Access to the path 'C:\Users\Klas\Documents\Visual Studio 2015\ArchitectureExplorer' is denied.</errorinfo> 

When I looked at this folder, I realized that the whole folder structure is here

 C:\Users\Klas\Documents\Visual Studio 2015 

permission was set so that my user does not have write permissions. I added Full Control permissions for my user for this folder and everything below.

After that, the message disappeared. In addition, when I started Visual Studio, it created many subfolders in this folder.

+2
Sep 13 '15 at 18:08
source share

In my case, the problem arose after I installed Visual Studio 2015. From that moment, neither 2015 nor previous versions of Visual Studio were loaded. The problem was that the PATH environment variable exceeded the length of the MAX.

I reduced it to less than 2048 and restarted the machine. Visual Studio started loading, but with some errors. Finally, run devenv /setup and everything will return to normal.

+1
Aug 04 '15 at 6:42
source share

I get this error when starting Visual Studio:

the 'visual studio component model host package' did not load correctly...

After this group of other error messages, The '' package did not load correctly...

I realized that I did not have enough free space on my C drive where Visual Studio was installed.

I opened the gap and restarted Visual Studio, solving the problem.

Not sure if it has anything to do with free disk space.

+1
Sep 15 '15 at 14:02
source share

I had a similar error. After updating to version VS2012.U2, the problem disappeared. TFS 2012 2 update cannot be removed without removing TFS. Although I had a problem upgrading from TFS2012.U1 to U2, I found TFS2012.U2 to be worth it.

0
Apr 30 '13 at 15:34
source share

Another suggestion

Run as administrator and restart the VS application.

Apply package update. Reboot.

Hope this helps!

0
Sep 30 '13 at 3:09 on
source share

This was a problem with access rights to my% USERPROFILE% directory (due to a PC crash). Setting permissions for full access fixed it.

0
Nov 13 '14 at 7:57
source share

From MSDN Forums :

  • Open Windows Explorer and go to <Visual Studio installation path> \ Common7 \ IDE
  • Devenv.exe / SafeMode: launches the IDE in safe mode, loading minimal windows.
  • Devenv.exe / ResetSettings: restores the default settings of the IDE, is additionally reset to the specified VSSettings file.
  • Devenv.exe / ResetAddin: Deletes the commands and command interface associated with the specified add-in.
  • Devenv.exe / ResetSkipPkgs: clears all SkipLoading tags added to VSPackages.

If there is still no help, I suggest you try restoring the Visual Studio installation or uninstalling it and then reinstalling. If you want to reinstall it, I am afraid that you need a DVD or a wonderful Internet.

The first three steps work for me.

0
Oct 02 '15 at 19:21
source share

I got “happy” and restarted Visual Studio 2013 and it worked. I had other errors in which deleting temporary cache items was deleted.

Side note. Although Visual Studio 2015 is not perfect yet, and NuGet has become less IMO friendly if my computer is restarted by the network administrators of the company domain or especially when there is a computer that has lost power with some brown power, Visual Studio 2013 will become a little "fun." to fix it, while Visual Studio 2015 projects for months seem to just open just fine, as if nothing had happened upon login.

0
Oct 22 '15 at 16:59
source share

I had a similar error (on Windows 7. I installed Visual Studio 2015 Professional, and then after that several “packages did not load correctly” messages started appearing when I started Visual Studio 2012).

What fixed problem was repairing "Microsoft Studio Tools for Applications 2012".

  • Launch "appwiz.cpl" (Control Panel → Programs → Uninstall a program
  • Right-click on "Microsoft Studio Tools for Applications 2012". Select "Change," then click "Restore."

Control Panel - Programs

After that, I can open Visual Studio 2012 without these error messages.

0
Jan 20 '16 at 19:36
source share



All Articles