--- title: "Error Message: 'Assembly Containing Type Lasernet.license Is not Referenced' - Server" slug: "assembly-containing-type-lasernetlicense-is-not-referenced" description: "This article provides a solution for the following error message: 'Assembly containing type Lasernet.license is not referenced'." tags: ["Error message", "Lasernet license", "Lasernet Connector ", "AX2012"] updated: 2026-03-26T09:26:30Z published: 2026-03-26T09:26:30Z canonical: "kb.lasernetgroup.com/assembly-containing-type-lasernetlicense-is-not-referenced" --- > ## 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: 'Assembly Containing Type Lasernet.license Is not Referenced' - Server This article provides a solution for the following error message, which may appear in AX 2012 after the import of the Cumulative XP: > [!CAUTION] > Error > > Assembly containing type Lasernet.license is not referenced. This appears when trying to print to Lasernet or to open a Lasernet menu. ### Resolution Try to compile the Lasernet `C-Sharp` project. You may see this compilation error: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-32ZGJ6TP.png) Or: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-RGENO8PP.png) The Microsoft Windows SDK is not installed on the AOS server where you are trying to compile, or the `ResGen.exe` file is located in a different folder than Axapta expects. Install Microsoft Visual Studio or Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5" on the AOS. Then, try to compile the Lasernet `C-Sharp` project. ### Additional information A similar error message could be “Assembly containing type Lasernet.ReportEngine”.