SQL Server Denali_Exception has been thrown by the target of an invocation Solution

2011-12-01

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:

/project/allsqlserver/resources/6263C919-E26C-5F7B-9D2D-CD8256B5A944.webp