--- title: "Exception Has Been Thrown by the Target of an Invocation" slug: "exception-has-been-thrown-by-the-target-of-an-invocation" description: "This article provides a solution for the following error message: 'Exception has been thrown by the target of an invocation'." tags: ["Error message", "Lasernet Connector ", "Exception", "AX2012"] updated: 2025-06-02T12:06:36Z published: 2025-06-02T12:06:36Z canonical: "kb.lasernetgroup.com/exception-has-been-thrown-by-the-target-of-an-invocation" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.lasernetgroup.com/llms.txt > Use this file to discover all available pages before exploring further. # 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: > [!CAUTION] > Error > > Exception has been thrown by the target of an invocation. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-NQTLT1TJ.png) 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] > 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: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-V4JXR9GN.png) 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**: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-I8FBNOR1.png)