External component has thrown an exception

  • KM00745080
  • 31-Jan-2014
  • 31-Jan-2014

Archived Content: This information is no longer maintained and is provided "as is" for your convenience.

Summary

External component has thrown an exception. DEP feature being enabled causes the issue. Disabling DEP resolves the issue.

Error

While adding attachment in QC, it throws an error as follows:
 External component has thrown an exception.

Cause

This error is caused by the security feature DEP (Data Execution Prevention). If DEP is enabled, then it throws the above error.

Fix

To resolve the issue, one needs to disable DEP. It can be done as follows:
1) Logon to the client system as an admin user.
 
2) Open a command prompt and type the following:
bcdedit /set {current} nx AlwaysOff
 
 A message saying "the operation completed successfully" appears
 
3) Shutdown (Power-off the client machine)
 
4) Once completely shut down, start the system
 
NOTE: The machine should be shut down (completely turned off), then started back up, a restart will not invoke the change to DEP.