'ProviderPackage'패키지가 올바르게로드되지 않았습니다.
Visual Studio 2012와 이후 업데이트 2를 설치했습니다. 업데이트 2를 설치 한 후 프로젝트를로드하면 다음 오류가 발생합니다.
---------------------------
Microsoft Visual Studio
-------------------- -------
'ProviderPackage'패키지가 올바르게로드되지 않았습니다.구성 변경 또는 다른 확장 설치로 인해 문제가 발생했을 수 있습니다. 'C : \ Users \ username \ AppData \ Roaming \ Microsoft \ VisualStudio \ 11.0 \ ActivityLog.xml'파일을 검토하여 자세한 정보를 얻을 수 있습니다.
이 오류 메시지를 계속 표시 하시겠습니까?
---------------------------
예 아니요
--------------------- ------
을 찾은 후 ActivityLog.xml
다음과 같은 오류가 표시됩니다.
<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 검색은 내 문제와 정확히 일치하는 것을 나타내지 않습니다. 설치 ISO에서 패키지 검색을 시도했지만 복구해야하는 패키지를 찾을 수 없습니다 ...
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
다른 아이디어가 있습니까?
이것은 위에서 Aaron의 (Aaron Reed) 답변이며 질문의 일부 대신 답변으로 복사했습니다.
수정 ... 수정 ... 수정 ...
- 열린 프로그램 및 기능 (실행 : appwiz.cpl)
- 설치된 앱의 정렬 된 목록 : 설치 날짜
- 오른쪽 상단 검색 필터에 "SQL"을 추가하여 필터링 된 목록
- 목록 항목
2013 년 4 월 1 일에 VS2012를 설치 했으므로 목록에 나열된 각 SQL 항목을 살펴보고 마우스 오른쪽 버튼으로 클릭-> 복구
거기에서 VS2012를 실행하고 문제없이 대상 솔루션 파일을 열었습니다.
나의 목록:
- Microsoft SQL Server 2012 데이터 계층 앱 프레임 워크
- Microsoft SQL Server 데이터 도구-enu (11.1.20627.00)
- Microsoft SQL Server 2012 관리 개체 (x64)
- SQL Server 2012 (x64) 용 Microsoft 시스템 CLR 유형
- SQL Server 2012 용 Microsoft 시스템 CLR 유형
- Microsoft SQL Server 2012 관리 개체
- Microsoft SQL Server 2012 Transact-SQL 컴파일러 서비스
- Microsoft SQL Server 2012 명령 줄 유틸리티
- Microsoft SQL Server 데이터 도구 빌드 유틸리티-enu (11.1.206 ...
- Microsoft SQL Server Compact 4.0 SP1 x64 ENU
- Microsoft SQL Server 2012 T-SQL 언어 서비스
- Microsoft SQL Server 2012 네이티브 클라이언트
- Microsoft SQL Server 2012 데이터 계층 앱 프레임 워크
- Microsoft SQL Server 2012 Express LocalDB
- Microsoft SQL Server 2012 Transact-SQL SpriptDom
- Visual Studio를 닫습니다.
- Visual Studio 2012 용 개발자 명령 프롬프트를 엽니 다 (관리자 권한).
- 유형
devenv /setup
. - Visual Studio를 다시 시작하십시오.
Visual Studio 2012 오류 중복 가능성 : 'Visual C ++ 패키지'패키지를로드하지 못했습니다.
Visual C ++ 패키지 :로드 실패 ?????를 참조하세요 .
이것은 나를 위해 일했습니다-
문제를 해결하려면 다음에서 Visual Studio 캐시를 지워야합니다.
%LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache
[Microsoft.VisualStudio.Editor.Implementation.EditorPackage] 패키지에 대한 블로그 게시물 SetSite 실패 로 이동 하십시오 .
다음을 제거하거나 제거하여이 문제를 해결했습니다.
Microsoft SQL Server 데이터 도구-enu (14.0.50325.0)
이게 도움이 되길 바란다 :)
일반적으로 다음에서 Visual Studio 캐시를 지우면이 문제를 해결할 수 있습니다.
Visual Studio 2012 : %LOCALAPPDATA%\Microsoft\VisualStudio\11.0\ComponentModelCache
Visual Studio 2013 : %LOCALAPPDATA%\Microsoft\VisualStudio\12.0\ComponentModelCache
나를 위해 일했습니다. Window7 SP1 + VS 2013 VS 2012 용 개발자 명령 Propmpt를 엽니 다 (관리자 권한). devenv / setup을 실행합니다.
An even quicker fix is to simply repair the Microsoft SQL Server in the list. That fixed my problem.
Uninstalling/Repairing SQL Server Data tools is the only thing which worked for me, thanks to wayne.blackmon comment.
Picture below
For me the ActivityLog.xml
stated
<errorinfo>Access to the path 'C:\Users\Klas\Documents\Visual Studio
2015\ArchitectureExplorer' is denied.</errorinfo>
When I examined this folder I realized that the entire folder structure here
C:\Users\Klas\Documents\Visual Studio 2015
had permission set so that my user had no write permissions. I added Full Control rights to my user for this folder and everything below.
After that, the message went away. Also, when I started Visual Studio it created lots of subfolders to this folder.
I had the same issue in Visual Studio 2013 for Windows 8.1.
The previous answers didn't work for me. I had to repair Visual Studio and then reboot my machine.
I was getting this error on Visual Studio start up:
the 'visual studio component model host package' did not load correctly...
After that bunch of other The '' package did not load correctly...
error messages.
I realized I don't have enough free space on my C drive, where the Visual Studio were installed.
I opened up some space and restarted the Visual Studio, solved the problem.
Not sure if it has anything to do with the free space on disk though.
In my case the problem appeared after I installed Visual Studio 2015. From that point nor 2015, nor previous versions of Visual Studio would load. The problem was the PATH environment variable exceeding the MAX length.
I shortened it to less than 2048 and restarted the machine. Visual Studio started loading, but with some errors still. Lastly run the devenv /setup
, and all is back to normal.
I just had a similar error (on Windows 7. I installed Visual Studio 2015 Professional and then after that, several "...package did not load correctly" messages started showing up when I ran Visual Studio 2012).
What fixed my issue was to repair "Microsoft Studio Tools for Applications 2012".
- Run "appwiz.cpl" (Control Panel → Programs → Uninstall a program
- Right-click on "Microsoft Studio Tools for Applications 2012. Select "Change", then click "Repair".
After this, I can open up Visual Studio 2012 without those error messages.
I had a similar error. After I updated to VS2012.U2, the problem went away. TFS 2012 update 2 can't be removed without removing TFS. While I had an issue with upgrading from TFS2012.U1 to U2, I have found TFS2012.U2 to be worthwhile.
It was the problem with access rights to my %USERPROFILE% directory (because of the failure with the PC). Setting permissions to full access fixed it.
Another suggestion,
Run as admin, and restart the VS application.
Apply package update. Reboot.
Hope this helps!
From MSDN forums:
- Please open Windows Explorer, and navigate to <Visual Studio Installation Path>\Common7\IDE
- Devenv.exe /SafeMode: Launches the IDE in safe mode loading minimal windows.
- Devenv.exe /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
- Devenv.exe /ResetAddin: Removes commands and command UI associated with the specified Add-in.
- Devenv.exe /ResetSkipPkgs: Clears all SkipLoading tags added to VSPackages.
If still no help, I suggest you try repairing your Visual Studio installation or uninstall it and then reinstall it. If you want to reinstall it, I am afraid that you need a DVD or a fine Internet.
Doing the first three steps works for me.
I got "lucky" and restarted Visual Studio 2013 and it worked. I have had other errors in which deleting the temp cache items cleared it up.
Side note. While Visual Studio 2015 is not perfect as of yet, and NuGet has become less friendly to use IMO, if my computer is restarted by the company domain network administrators OR especially when there is a computer losing power with a brown-out of some loss of power Visual Studio 2013 becomes a bit a "fun" to fix while Visual Studio 2015 projects for months seem to just open just fine as if nothing happened when I login.
참고URL : https://stackoverflow.com/questions/16176933/the-providerpackage-package-did-not-load-correctly
'Program Tip' 카테고리의 다른 글
Eclipse LogCat 뷰어에서 태그 이름을 필터링하는 방법 (0) | 2020.10.25 |
---|---|
SQL Server에서 VARCHAR 열의 최대 길이 검색 (0) | 2020.10.25 |
부모 구성 요소의 angular2 호출 함수 (0) | 2020.10.25 |
iOS에서 수정 된 백그라운드 첨부 파일을 복제하는 방법 (0) | 2020.10.24 |
INSERT INTO를 사용하여 여러 값 삽입 (SQL Server 2005) (0) | 2020.10.24 |