Thursday, May 12, 2011

Exception has been thrown by the target of an invocation Visual Studio 2010







Windows updates can also mess your system up.

SOLUTION : Install Service Pack 1 for VS2010.

7 comments:

  1. Is this is beneficial? How to install this service pack?

    ReplyDelete
  2. It was a perfect support to me!!!!


    Microsoft Help

    ReplyDelete
  3. I was install service pack 1 for vs2010. But couldn't solve problem. Can you help me!

    ReplyDelete
  4. Anonymous8:17 PM

    I have exactly the same issue, it is working for me at home but not at work. I'm on XP with SP3. I installed Microsoft Visual Studio 2010 Service Pack 1 but the same issue persits.

    Did I missed something? Is there anyway to have an explicit error? Is there any error log file stored somewhere?

    ReplyDelete
  5. Anonymous10:00 PM

    The environment Path variable has overflowed. This causes the error message 'Exception has been thrown by the target of an invocation'. The solution is to start button - Run - type SYSDM.CPL - press enter. Select tab [Advanced] - button [Environment variables]. Section 'System variables' - select Path - button [Edit]. Now you have to modify the Path variable. Technical Task: Each item within the Path is separated by a ';' Reduce the number of items. make sure that important items are first. Important items are any paths pointing to windows directories.

    ReplyDelete
    Replies
    1. Anonymous3:33 PM

      Your hints are crap

      Delete
  6. Anonymous10:12 PM

    Other points, make sure that you re-boot your machine after changing the environment path to test and check that the changed path is fixed. Also, The symptom to prove/verify that the Path environment variable has indeed overflowed is: - it should not be possible to append any characters to the end of the Path environment variable. Also, if you go into the command shell and type [ cmd> path > PathCopy.txt ] then press enter. You should be able to take a copy of your existing path before you make any changes, 'just in case !'. Non Techi people; start button - run - type cmd - press enter. Then in the black window, type path > PathCopy.txt, then press enter, then type PathCopy.txt and your path data should be displayed in a notepad screen.

    ReplyDelete

Let me know if any of my posts were helpful. I would appreciate it.

Did my blog post save the day for you?

If my blog post helped you, please leave a comment before you leave. or Ask me if you have any specific questions and I'll reply you back as soon as I can.

About Me

My photo
Godwin Sam Josh is a Microsoft Professional working on almost all Microsoft Technologies.He currently runs his own company called GloriaTech (http://gloriatech.com). He is mainly into providing Mobile and Web solutions using Microsoft Technologies.Godwin also provides training and speaks at various conferences.