- Print
- PDF
Error Message: 'Exception Has Been Thrown by the Target of an Invocation'
This article provides a solution for the following error message that may appear in AX 2012:
Error
Exception has been thrown by the target of an invocation.

This error may occur if you try to select Lasernet Screen or Lasernet within the Printer setup menu when trying to print a document.
This error is thrown when the system is trying to use a Lasernet printer incorrectly.
Resolution
Follow these steps to resolve the error:
Within Printer setup, select the standard AX Printer option, and within Name, select a non-Lasernet printer.
Select Lasernet or Lasernet Screen, and then print the document by clicking OK.
Note
If the report is a Query, you may not see the standard AX print destination options. In this case, follow the next solution in this article.
In the following image, we have selected an HP printer:

If the issue persists or if you do not have the option to select the standard AX Printer option, check the default printer within Windows.
Navigate to Control Panel > All Control Panel Items > Devices and Printers, and set a non-Lasernet printer as the default printer.
In the following image, we selected an HP printer, not Lasernet Print Capture or Lasernet Reference Printer:
