Issue
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.
Solution
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:
https://api.kontext.tech/resource/6263c919-e26c-5f7b-9d2d-cd8256b5a944