Exception has been thrown by the target of an invocation

Problem: When opening Management Studio you receive the error message “Exception has been thrown by the target of an invocation” (for me this happened after installing SQL 2012)

Solution: The maximum length of the PATH environment varible is 2048 charecters, ensure that the length of the variable is less than this value, if not trim it down a bit and it will load.

Advertisements

4 Responses to “Exception has been thrown by the target of an invocation”

  1. Vlado S. Says:

    Thank you! You helped me a lot. I, at first reinstalled ssms, but error was still there. And thanks to google, I found this sugesstion. Have a nice day.

  2. garry star Says:

    Thank you !!!

  3. John Says:

    How did you figure this out?

  4. Agus Rahmat Diansyah Says:

    i have been tried your solution by reducing PATH, but yet it still show me the error “Exception has been thrown by the target of an invocation”. Many thanks if you have another solution

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: