Sign in with
Sign up | Sign in
Your question

Invocation Error

Last response: in Applications
Share
March 25, 2011 11:19:18 AM

Hi Guys,

I have been getting the following error when trying to do certain things within a .net 2.0 application we use at work.

"Exception has been thrown by the target of an invocation"

After some googleing I have discovered that this is usually a .net error.

We have two machines here of exactly the same spec, the same OS and the same .net versions installed on the machine. On one of the machines it works fine, on the other it throws this error on random screens.

Anyone got any ideas what might be causing this.

Thanks In Advance

Alex
First Choice Software

More about : invocation error

March 25, 2011 11:52:55 AM

Hey,

Do any the screens that you are trying to open have text fields on them?

March 25, 2011 11:55:11 AM

Also what brands/os are the machines?
Related resources
March 25, 2011 12:00:41 PM

The working machine is a custom build - Windows 7 Professions clean install
the machine which doesnt work is a HP also with Windows 7 Professional

I believe all of the screens have text fields on them.

Thanks
March 25, 2011 1:11:56 PM

Do the screens which are working have text fields on them?

I have seen similar issues with some programs where the error you have described occurs when the font used in the text fields is not present on the system.

The solution for this would be to copy the fonts directory from any working Windows Vista or Windows 7 machine over the font directory on the machine which isnt working as expected.

Hope This Helps
!