Hôm nay khi tôi mở Visual Studio 2013 Professional Edition
, tôi đã nhận lỗi exception has been thrown by a target of invocation.
ngoại lệ đã được ném bởi mục tiêu gọi trong Visual Studio 2013
Ngoài ra tôi đã cố gắng để mở ILSpy
để gỡ lỗi một dll, nhưng nó đã bị rơi. Tôi nghĩ rằng nó có thể là từ cùng một kẻ giết người. Đối với hệ thống tôi đã làm là tôi đã cài đặt SQL Server 2012
Professional Edition ngày hôm qua.
Tôi đã kiểm tra đường dẫn môi trường. Đó là:
C: \ Program Files \ Common Files \ Microsoft Shared \ Windows Live; C: \ Program Files (x86) \ Tệp phổ biến \ Microsoft Shared \ Windows Live; C: \ Program Files (x86) \ Intel \ iCLS Khách hàng \; C: \ Program Files \ Intel \ iCLS Máy khách \; c: \ Program Files (x86) \ AMD APP \ bin \ x86_64; c: \ Program Files (x86) \ AMD APP \ bin \ x86 ;% SystemRoot% \ system32;% SystemRoot%;% SystemRoot% \ System32 \ Wbem; c: \ Program Files (x86) \ ATI Technologies \ ATI.ACE \ Core-tĩnh; C: \ Program Files \ Intel \ Intel (R) Các thành phần của bộ phận quản lý \ DAL; C: \ Program Files \ Intel \ Intel (R) Các thành phần của bộ phận quản lý \ IPT; C: \ Program Files (x86) \ Intel \ Intel (R) Các thành phần của Engine Management \ DAL; C: \ Program Các tập tin (x86) \ Intel \ Intel (R) Các thành phần của bộ phận quản lý \ IPT; C: \ Program Files \ Dell \ Dell Bảo vệ dữ liệu \ Truy cập \ Advanced \ Wave \ Gemalto \ Access Client \ v5 \; C: \ Program Files (x86) \ NTRU Cryptosystems \ NTR C: \ Program Files \ NTRU Cryptosystems \ NTRU Phần mềm TCG Stack \ bin \; C: \ Program Files (x86) \ Windows Live \ Shared; c: \ Program Files (x86) \ Microsoft SQL Máy chủ \ 100 \ Công cụ \ Binn \; c: \ Program Files \ Microsoft SQL Server \ 100 \ Công cụ \ Binn \; c: \ Program Files \ Microsoft SQL Server \ 100 \ DTS \ Binn \; C: \ Program Files (x86) \ Microsoft SQL Server \ 100 \ Công cụ \ Binn \ VSShell \ Common7 \ IDE \; C: \ Program Files (x86) \ Microsoft SQL Server \ 100 \ DTS \ Binn \; C: \ Program Files (x86) \ Microsoft Visual Studio 9.0 \ Common7 \ IDE \ PrivateAssemblies \; C: \ Program Files \ Microsoft \ Web nền tảng cài đặt \; c: \ Program Files (x86) \ Microsoft ASP.NET \ ASP.NET trang web \ v1.0 \;% systemroot % \ System32 \ WindowsPowerShell \ v1.0 \; C: \ source \ Orion \ trunk \ gói \ NuGet.CommandLine.2.2.0 \ công cụ;% TFSPowerToolDir%;% BPADir%;% HummPATH14%;% systemroot% \ System32 \ WindowsPowerShell \ v1.0 \; C: \ Program Files (x86) \ QuickTime \ QTSystem \; C: \ Program Files (x86) \ Windows Kits \ 8.1 \ Bộ công cụ hiệu năng Windows \; C: \ Program Files \ Microsoft SQL Server \ 110 \ DTS \ Binn \; C: \ Prog Tệp ram (x86) \ Microsoft SQL Server \ 110 \ Công cụ \ Binn \; C: \ Program Files \ Microsoft SQL Server \ 110 \ Công cụ \ Binn \; C: \ Program Files (x86) \ Microsoft SQL Server \ 110 \ Công cụ \ Binn \ ManagementStudio \; C: \ Program Files (x86) \ Microsoft Visual Studio 10.0 \ Common7 \ IDE \ PrivateAssemblies \; C: \ Program Files (x86) \ Microsoft SQL Server \ 110 \ DTS \ Binn \
Hệ điều hành của tôi là Windows 7 64 bit.
Các activitylog.xml có:
<entry>
<record>25</record>
<time>2014/05/13 15:06:11.756</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Environment Package Window Management]</description>
<guid>{5E56B3DB-7964-4588-8D49-D3523AB7BDB9}</guid>
</entry>
<entry>
<record>26</record>
<time>2014/05/13 15:06:11.756</time>
<type>Error</type>
<source>VisualStudio</source>
<description>SetSite failed for package [Environment Package Window Management]</description>
<guid>{5E56B3DB-7964-4588-8D49-D3523AB7BDB9}</guid>
<hr>80131534</hr>
<errorinfo>The type initializer for 'Microsoft.VisualStudio.Platform.WindowManagement.WindowManagerService' threw an exception.</errorinfo>
</entry>
Tôi cũng thấy bài viết này hữu ích vì nó bao gồm mô tả và ảnh chụp màn hình chi tiết hơn câu trả lời bạn đã liên kết tới: http://www.dirkstrauss.com/programming/exception-thrown-target-invocation –
Cập nhật liên kết: http : //www.dirkstrauss.com/exception-thrown-target-invocation –