By using this site, you acknowledge that you have read and understand our Cookie policy, Privacy policy and Terms .

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:

image

info Last modified by Raymond at 6 years ago * This page is subject to Site terms.

More from Kontext

visibility 13649
thumb_up 0
access_time 6 years ago

SQL Server Compact 4.0 (CE 4.0) is a free SQL Server embedded database ideal for building standalone and occasionally connected applications for mobile devices, desktops, Web clients and others. In one of my projects, I used it as the database for logging errors, which assumes the errors will onl...

open_in_new View open_in_new SQL Server

visibility 684
thumb_up 0
access_time 6 years ago

SQL Server provides a batch of great features to build robust, high-performance and scalable data solutions. ...

open_in_new View open_in_new SQL Server

visibility 1143
thumb_up 0
access_time 6 years ago

Serial: An Introduction to SQL Server Features Case Scenario In the previous articles of this serial, I’ve introduced how to use SQL Server as database for online transaction proces...

open_in_new View open_in_new SQL Server

visibility 4114
thumb_up 0
access_time 6 years ago

Serial: An Introduction to SQL Server Features Case Scenario For this ETL project, the requirements are listed below: Sales data will be pushed to specified shared fold...

open_in_new View open_in_new SQL Server

info About author

comment Comments (3)

comment Add comment

Please log in or register to comment. account_circle Log in person_add Register
account_circle Rodrigo Pinto
Hi there, gald i could help
here's my email stationsolutions@gmail.com
Anything more i can help you , feel free to ask ;)

Best regards

Rodrigo Pinto, SharePoint MVP
www.sharepointpt.org


reply Reply
account_circle Raymond
Hi Rodrigo,
Thanks a lot for your comment.
reply Reply
account_circle Rodrigo Pinto
Hi there, try this

"This happens after installing SQL Server 2012 (Code named "Denali CTP3") or later, running SSMS successfully, then (later) install VS11 Dev Preview, and then run SSMS.

Dev11 Preview improperly recognize SQL Server Denali SSMS as a version 11 application and it updates the current user’s setting in SSMS registry key during the setup. This issue occurs only when Dev11 Preview is installed after the installation of SSMS.

SQL Server 2012 SSMS has a built-in security and resiliency feature for any corrupted configuration in HKCU registry key. The corrupted registry keys can be simply deleted then SSMS automatically reconstructs it with correct values during the next startup procedure.

• Start regedit.exe

• Go to HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management Studio

• Delete 11.0_Config

• Restart ssms.exe
"
from connect.microsoft.com/...

Hope it helps

Rodrigo Pinto, SharePoint MVP
www.sharepointpt.org

reply Reply
Kontext dark theme mode

Dark theme mode

Dark theme mode is available on Kontext.

Learn more arrow_forward
Kontext Column

Kontext Column

Created for everyone to publish data, programming and cloud related articles. Follow three steps to create your columns.

Learn more arrow_forward
info Follow us on Twitter to get the latest article updates. Follow us