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

.本文转自博客园Grandyang的博客,原文链接:Solve VS2010 Error "Exceptions has been thrown by the target of an invocation",如需转载请自行联系原博主。

相关文章
|
PHP
Fatal error: Can't use method return value in write context in
说明:   php环境测试会报错下面错误:Fatal error: Can't use method return value in write context in    解决方案:   首先检查自己的php版本,支付宝sdk和demo测试需要php5.5以上版本。
995 12
Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘
Failed to execute script ‘xxx‘ due to unhandled exception:No module named ‘ctypes‘
533 0
|
7月前
|
JavaScript Python
7-4|execjs._exceptions.ProgramError: Error: Cannot find module 'jsdom'
7-4|execjs._exceptions.ProgramError: Error: Cannot find module 'jsdom'
|
程序员
解决报错Exception encountered during context initialization
程序员不是在去生产bug的路上,那就是在去解决bug的路上。
187 1
|
Java Maven Android开发
成功解决FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE
成功解决FATAL ERROR in native method: JDWP on getting class status, jvmtiError=JVMTI_ERROR_WRONG_PHASE
WARN FileInputDStream:87 - Error finding new filesjava.lang.NullPointerException报错为什么
WARN FileInputDStream:87 - Error finding new filesjava.lang.NullPointerException报错为什么
120 0
|
机器学习/深度学习 Windows
raise RuntimeError(‘Error(s) in loading state_dict for {}:\n\t{}‘.format( RuntimeError: Error(s)..报错
即load_state_dict(fsd,strict=False) 属性strict;当strict=True,要求预训练练权重层数的键值与新构建的模型中的权重层数名称完全吻合;
1726 0
|
XML Java 数据格式
Exception encountered during context initialization - cancelling refresh attempt
Exception encountered during context initialization - cancelling refresh attempt:
494 0
AI助理

你好,我是AI助理

可以解答问题、推荐解决方案等