Exception has been thrown by the target of an invocation (3050 Views)
Reply
Frequent Advisor
Posts: 102
Registered: ‎11-07-2008
Message 1 of 9 (3,050 Views)

Exception has been thrown by the target of an invocation

I'm getting the "Exception has been thrown by the target of an invocation" error message on QC 9.2 on Windows XP Professional. The error occurs after authentication when I try to log in to my project. I am a local administrator on the machine. The error is happening both in IE 7 and in QC Explorer. The QC User ID does not matter - several IDs have failed on that machine, but are able to work on other machines. I have tried erasing the Loader Class v4 file, running the QC uninstall utility, rebooting the workstation, and reinstalling the QC Components by visiting the QC URL. I have also tried the above procedure and installed the QC Components manually with the QCClient.msi file. I have tried deleting the Temporary Internet Files and clearing all cookies. Has anyone else seen this and been able to resolve it?
Occasional Visitor
Posts: 3
Registered: ‎08-04-2010
Message 2 of 9 (3,050 Views)

Re: Exception has been thrown by the target of an invocation

I am experiencing the same issue using XP and IE7. Have you found a workaround or solution for this yet? I thought maybe it had something to do with my Java version... I have no idea why I can't access my project in QC.
Frequent Advisor
Posts: 102
Registered: ‎11-07-2008
Message 3 of 9 (3,050 Views)

Re: Exception has been thrown by the target of an invocation

I opened up a call with HP Support and I'll post the results here.
Occasional Visitor
Posts: 3
Registered: ‎08-04-2010
Message 4 of 9 (3,050 Views)

Re: Exception has been thrown by the target of an invocation

That would be great. Thanks!
Occasional Visitor
Posts: 3
Registered: ‎08-04-2010
Message 5 of 9 (3,050 Views)

Re: Exception has been thrown by the target of an invocation

I think that my system admin found a resolution to this issues. He went in and changed my local security policy on my machine and changed the FIPS encryption from enabled to disabled. He went to the 'run' command, typed in 'secpol.msc' and it brought up the local security policy window. Once in there he disabled the FIPS encryption and now QC works. Hope this helps!
Occasional Visitor
Posts: 1
Registered: ‎11-16-2011
Message 6 of 9 (2,993 Views)

Re: Exception has been thrown by the target of an invocation

It worked!

 

Thanx

Frequent Visitor
Posts: 5
Registered: ‎02-07-2013
Message 7 of 9 (2,164 Views)

Re: Exception has been thrown by the target of an invocation

hi. I am using QC10 with IE8 on Win7 and still getting this error. My FIPS is disabled. has anyone seen this type before?

Occasional Visitor
Posts: 2
Registered: ‎03-16-2015
Message 8 of 9 (474 Views)

Re: Exception has been thrown by the target of an invocation

Hi, did you got any response , I am having the same issue while running BPT scripts from ALM

Occasional Advisor
Posts: 9
Registered: ‎11-25-2010
Message 9 of 9 (415 Views)

Re: Exception has been thrown by the target of an invocation

I got the same problem and did some anlaysis found that whenever the UFT or QTP properties "Compatibility" Tab "Privilege Level" checked on "Run this program as an administrator". ALM fails execution and throw this error.

 

so, Check off "Run this program as an administrator" in UFT properties.

 

if it doesn't work, just reply here...! I will try another resolution.

 

Regards,

Baba

baba.fakru@gmail.com

www.qtptesters.blogspot.com

 

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.