views:

573

answers:

1

Hi all,

I use VS 2008 professional, and use Unit tests.

Sometimes, I get the error: Error: "Exception has been thrown by the target of an invocation."

http://peitor.blogspot.com/2009/10/sometimes-it-works-sometimes-not.html

What I did and didn’t help:

Start up Visual Studio in safe mode (parameter /SafeMode ) Start up Visual Studio and reset user data (parameter /resetuserdata ) I do this “devenv /safemode”, “Open solution”, “Build”, “Clean”, “Rebuild”, “Cross fingers”, “Run all tests”…

No solution... :'( it's nightmare..

Any solutions, please ????

A: 

Open Team Explorer and connect to your TFS server. Then try again.

From the first comment on Chezray's blog post. The author himself doesn't have the solution, but the commenter does.

Michael L Perry