Solve VS2010 Error "Exceptions has been thrown by the target of an invocation"

Sometimes when you open a VS2010 project, an error window will pop up with the error message "Exceptions has been thrown by the target of an invocation" which is weird.

The easy way to solve this and get your project started normally is:

1) Open Task Mangager, find the explorer.exe in Processes, and then click End Process.

2) Click File -> New Task(Run...), type in explorer.exe

3) Then reopen your project file, it should be ok now.

时间: 2025-01-18 08:02:12

Solve VS2010 Error "Exceptions has been thrown by the target of an invocation"的相关文章

Visual studio 2013打开报异常"Exception has been thrown by the target of an invocation"

最近遇到一个问题,打开VS2013和SQL Server2014都会出报错,错误信息如下: 以前都是好好的,重启了机子也不行,能打开两个VS,再打开第三个VS还是会报错,百度无果,还是在google上找到解决方法,在此记录. 原因是我最近装了mysql,环境变量里的字符数有2181个,字符过长,删掉了不用的不重要的环境变量,字符数降到1849个(字符数在2048个以内即可),打开VS2013和SQL Server,一切正常. mysql相关环境变量,确实过于冗长... C:\Program Fi

ERROR 1093 (HY000): You can't specify target table 'bm_area' for update in FROM clause

开发执行时出现错误: update bm_area  set level = 2 where parent_code in (select b.parent_code from bm_area as b where b.level = 1); ERROR 1093 (HY000): You can't specify target table 'bm_area' for update in FROM clause 一般使用: create table tmp as select b.parent

mysql - Error Code: 1093. You can't specify target table

UPDATE card SET value = (SELECT value FROM card WHERE id = 23) WHERE id = 20; 更新时 在where条件里面加入的子查询导致的. 解决方法: UPDATE card SET value = (SELECT val FROM (SELECT value as val FROM card WHERE id = 23)  as temp )WHERE id = 20;使用临时表. mysql - Error Code: 109

VS2010 ERROR:c1xx fatal error c1083

在VS2010中新建文件夹,然后在文件夹内新建文件polling.cpp,可是在项目中不现实该cpp文件,所以就在在硬盘上将该文件删除,编译报错. >c1xx : fatal error C1083: Cannot open source file: 'polling.cpp': No such file or directory 从VS2010资源管理中新建该文件报错,说该文件已存在. 从硬盘上该文件夹内从新建立该文件,VS2010项目中仍不现实该文件.但是可以编译通过. 解决方法:从硬盘上删

VS2010 error RC2135: file not found

VS2010 C++ win32 DLL 工程, 添加 rc 文件, 编辑 String Table. 默认情况下英文版本的 rc 文件能够顺序编译通过,为了让工程支持多语言,将字符串修改为其他语言时,编译就会出错error RC2135: file not found. 解决方案参考:[经验之谈]VS2010资源编译遇到error RC2135: file not found: Visual 总结:为了支持多语言,工程需要使用 Unicode 编码集合,而如果rc 文件的编码格式不是 Unic

How to solve Xentry Error 462/ No WIS/ASRA EPC shortcuts

The WIS/ASRA EPC shortcut is useless. And Xentry prompts Error 462 EWA Session Token expired: Message: The EWA Session Token and the web sesion have expired.Details: Login infoemation is not vaild aymore. The programm will close now.Suggestion: You n

how to solve Xentry error 2221-45 No access authorization?

One of customer had the Xentry error 2221-45 No access authorization when running Mercedes MB SD Connect C42016.07V Xentry diagnostic software. Here is the final solution provided by mbstarhsop.com engineer. Problem: (2221-45) No access authorization

Solve fatal error: helper_math.h: No such file or directory

When the 'fatal error: helper_math.h: No such file or directory' occurs, it means the 'helper_math.h' file is missing. In fact, 'helper_math.h' locates at '/usr/local/cuda/samples/common/inc/helper_math.h' if you've installed cuda successfully, so ju

Unity2018 Open C# Project Error

错误日志 升级到Unity2018之后,使用 Open C# Project 打开VS工程,出现报错,无法启动VS. 错误日志如下: ArgumentException: Value does not fall within the expected range.SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit.LanguageOf (SyntaxTree.VisualStudio.Unity.Bridge.CompilationUnit