Skip to main content

Error Message: 'Exception has been thrown by the target of an invocation' - Knowledgebase / AX2012 - Formpipe Support Portal

Error Message: 'Exception has been thrown by the target of an invocation'

Authors list

This article provides a solution for the following error message which may appear in AX 2012:

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 happens when the system is trying to use a Lasernet printer incorrectly.


Resolution

Please follow these steps to resolve the error:

1. Within Printer setup,  select the standard AX Printer option, and within Name, select a non-Lasernet printer. 

2. Select Lasernet or Lasernet Screen and then print the document by pressing Ok.

If the report is a query, you may not see the standard AX print destination options. In this case, please follow the next solution in this article.


In the picture below 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

Go to Control Panel > All Control Panel Items > Devices and Printers and set a non-Lasernet printer as the default printer.

In the picture below we selected an HP printer, not Lasernet Print Capture or Lasernet Reference Printer:


Helpful Unhelpful

Share