Testing Service Absent Member.
Absent Member.
7762 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?
0 Likes
12 Replies
Maisha Walton Absent Member.
Absent Member.

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.
0 Likes
Testing Service Absent Member.
Absent Member.

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.
0 Likes
Maisha Walton Absent Member.
Absent Member.

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

That would be great. Thanks!
0 Likes
Maisha Walton Absent Member.
Absent Member.

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!
0 Likes
orfcasares Absent Member.
Absent Member.

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

It worked!

 

Thanx

0 Likes
mskiy Absent Member.
Absent Member.

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?

0 Likes
Absent Member.. tushsoley Absent Member..
Absent Member..

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

Highlighted
Absent Member.. Babji Absent Member..
Absent Member..

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

Personal Info Erased

 

 

0 Likes
RajibSaha Absent Member.
Absent Member.

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.

0 Likes
LGarrison Absent Member.
Absent Member.

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

0 Likes
Sj14 Absent Member.
Absent Member.

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

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.

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.