gpt4 book ai didi

sql-server - Visual Studio 2013 中的调用目标引发了异常

转载 作者:可可西里 更新时间:2023-11-01 12:30:12 25 4
gpt4 key购买 nike

今天打开Visual Studio 2013 Professional Edition时,出现错误exception has been thrown by a target of invocation.

我还尝试打开 ILSpy 来调试一个 dll,但它崩溃了。我认为它可能来自同一个 killer 。我做的系统是昨天安装了SQL Server 2012专业版。

我检查了环境路径。它是:

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;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-Static;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Dell\Dell Data Protection\Access\Advanced\Wave\Gemalto\Access Client\v5\;C:\Program Files (x86)\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files (x86)\Windows Live\Shared;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\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 Platform Installer\;c:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;%systemroot%\System32\WindowsPowerShell\v1.0\;C:\source\Orion\trunk\packages\NuGet.CommandLine.2.2.0\tools;%TFSPowerToolDir%;%BPADir%;%HummPATH14%;%systemroot%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\

我的操作系统是 Windows 7 64 位。

activitylog.xml 有:

 <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>

最佳答案

Google 搜索并获得答案。 Answer

我的环境是环境变量PATH太长,缩短到2048个字符以下问题解决。

关于sql-server - Visual Studio 2013 中的调用目标引发了异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23634505/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com