Invocation Error

adibbo

Distinguished
Mar 25, 2011
2
0
18,510
0
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
 

adibbo

Distinguished
Mar 25, 2011
2
0
18,510
0
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
 

staggadee

Distinguished
Feb 9, 2009
4
0
18,510
0
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
 
Thread starter Similar threads Forum Replies Date
David___Only Apps General Discussion 0
KloneCSGO Apps General Discussion 2
reble Apps General Discussion 2
I Apps General Discussion 5
B Apps General Discussion 1
R Apps General Discussion 1
C Apps General Discussion 1
J Apps General Discussion 4
J Apps General Discussion 1
S Apps General Discussion 6
F Apps General Discussion 1
warhammer3025 Apps General Discussion 1
K Apps General Discussion 3
I Apps General Discussion 5
K Apps General Discussion 4
J Apps General Discussion 1
J Apps General Discussion 1
meloonharrier1199 Apps General Discussion 24
2 Apps General Discussion 1
J Apps General Discussion 5

ASK THE COMMUNITY