After I installed Visual Studio 2011 Developer Preview, the error “Exception has been thrown by the target of an invocation” will be thrown when I try to lunch SQL Server Management Studio.
Microsoft Connect site has a relevant issue: http://connect.microsoft.com/SQLServer/feedback/details/668421/denali-exception-has-been-thrown-by-the-target-of-an-invocation-during-setup.
According to the article in Connect, the issue hasn’t been resolved yet. There is a temporary resolution: using “Run as administer” option when you lunch SSMS.
It is working for me: