Quality Center / ALM Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

Exception has been thrown by the target of an invocation

Frequent Advisor

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?
12 REPLIES
Occasional Visitor

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

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

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

That would be great. Thanks!
Occasional Visitor

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

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

It worked!

 

Thanx

Frequent Visitor

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

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

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

[ Edited ]

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

Personal Info Erased

 

 

Occasional Visitor

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

Hi,

 

I am facing the same problem. But in my case, it is the requirement to launch UFT as admin from ALM. But I am facing this error while trying to launc UFT from ALM by checking on the "Run this program as an administrator" in UFT properties. So anyone has any idea on this problem can be resolved without changing the Privilege from UFT properties or without checking off "Run this program as an administrator" in UFT properties?

 

Looking for a quick response!!!

 

Thanks,

Rajib.

Visitor

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

I am also receiving the same error message when running BPT From ALM. I can run some scripts with no problem and other scripts throws the "Exception has been thrown by the target of an invoaction," My FIPS Encryption is disabled

Occasional Visitor

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

[ Edited ]

I am also getting same exception :"Exception has been thrown by the target of an invocation".

When I was running test cases from hp alm test plan as "QUICKTEST", QTP script has not generated and got this exception.

Please let me know the solution.

 

Occasional Visitor

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

[ Edited ]

Hi Baba,

I have seen the issue "Exception has been thrown by the target of an invocation" recently. As suggested , I have unchecked "Run this program as an administrator" but still facing the same issue. Please let me know if you have any work around for this.

Regards,

Niranjan

Personal Info Erased