Error Message: 'Exception Has Been Thrown by the Target of an Invocation'
    • 20 Mar 2024
    • 1 Minute to read
    • Contributors
    • PDF

    Error Message: 'Exception Has Been Thrown by the Target of an Invocation'

    • PDF

    Article summary

    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:

    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 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:


    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.