--- title: "Compilation Error Occurs from Lasernet FO Connector 6.17" slug: "compilation-error-from-lasernet-fo-connector-617" description: "Customers that have developed code to initialize Lasernet reports in versions olderĀ than 6.17 will get a compilation error when they upgrade to version 6.17." tags: ["Lasernet FO Connector", "Finance and Operations"] updated: 2026-02-05T15:14:09Z published: 2026-02-05T15:14:09Z canonical: "kb.lasernetgroup.com/compilation-error-from-lasernet-fo-connector-617" --- > ## 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. # Compilation Error from Lasernet FO Connector 6.17 Customers who have developed code to initialize Lasernet reports in Lasernet FO Connector older than 6.17 will get a compilation error when they upgrade to Lasernet FO Connector 6.17 because report initialization from the code has changed in this version. > [!CAUTION] > Error > > Type mismatch in 'LACRunQueryServiceController.newReport' argument 2. The expected type is 'LACArgsCache', but the actual type is 'boolean'. Lasernet FO Connector 6.17 contains major performance enhancements. One of the newly introduced features is the new cache logic. This change affects how the report is initialized and processed from the code. It might be necessary for some customers using custom code to launch Lasernet reports to update their code. The Lasernet tutorial is also updated to help users understand how to use Lasernet features from the code. **LACTutorialStartReport** shows the changes that might be required. #### Older Lasernet FO Connector Versions ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-JCPWZ9O8.png) #### Lasernet FO Connector 6.17 ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-DD3NK9U1.png) Code fragment to initialize **LACRunQueryServiceController**: ```javascript LACRunQueryServiceController controller = LACRunQueryServiceController::newReport("LACCustTable", LACArgsCache::newCache('LACCustTable'), true); ``` In case there is no Report in the scope/context of the process, LACArgsCache should be initialized with an empty string: ```javascript LACArgsCache argsCache = LACArgsCache::newCache("); ``` The following is an example that should be followed: ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-C8O0BJ6M.png) The updated tutorial model has been added to the Lasernet FO Connector 6.17.1 release. ![](https://cdn.document360.io/c831ef63-c6b3-48ee-b443-3e33644e4e2e/Images/Documentation/image-2M9LBEK2.png)