---
title: "Error: \"can't initialize:Invalid license file syntax\" when launching the License Server"
description: This guide will help you resolve a FlexNet Licensing Error -2 that may occur when you are activating your KeyShot floating license and the service fails to start
---

[Skip to content](https://support.keyshot.com/en/knowledge-base/knowledge/flexnet-licensing-error#main-content)

English

Show submenu for translations

![KeyShot](https://support.keyshot.com/hs-fs/hubfs/keyshot-logo-blk-3d.png?height=40&name=keyshot-logo-blk-3d.png)

- [Support Home Page](https://www.keyshot.com/support/)
- [Sign Out](https://support.keyshot.com/_hcms/mem/logout)

Open main navigation

Close main navigation

- [Support Home Page](https://www.keyshot.com/support/)
- [Sign Out](https://support.keyshot.com/_hcms/mem/logout)
- English
  
  Show submenu for translations
- [My Inbox](https://support.keyshot.com/tickets-view)

[My Inbox](https://support.keyshot.com/tickets-view?hsLang=en)

 Tell us what's happening

- There are no suggestions because the search field is empty.

1. [Support Knowledge Base](https://support.keyshot.com/en/knowledge-base?hsLang=en)
2. [License Support](https://support.keyshot.com/en/knowledge-base/license-support?hsLang=en)
3. [Floating](https://support.keyshot.com/en/knowledge-base/license-support?hsLang=en#floating)

# Error: "can't initialize:Invalid license file syntax" when launching the License Server

## This guide will help you resolve a FlexNet Licensing Error -2 that may occur when you are activating your KeyShot floating license and the service fails to start

### Issue

The following error shows when launching the KeyShot Floating License Server:

(lmgrd) license manager: can't initialize:Invalid license file syntax.  
(lmgrd) License Path: "This would be the path where the license is located"  
(lmgrd) FlexNet Licensing error:-2,40027

### **Environment Details**

- KeyShot Studio  
    - Any Version

### **Cause**

If you are experiencing issues with activating your KeyShot floating license and the service is not starting, you can check the Luxion log file for more information. The log file may display the following details, along with some steps you can try to resolve the issue.

### **Resolution**

**How to do a Fresh Install of the KeyShot Floating License.**

1. Open Luxion License Server Software.
2. Click on License Folder button.
3. Click Stop Service in your Luxion License Server software.
4. Once the Service has stopped close your Luxion License Server software.
5. Go to the License Folder and Delete all files in the folder.
6. Go to "C:\\Program Files (x86)\\Luxion License Server" folder.
7. Open lmtools.exe.
8. Select Luxion License Server within the list.
9. Go to Config Service Tab.
10. Make sure that Luxion License Server is in the **Service Name** window, then click Remove Service button.
11. Go to "C:\\Program Files (x86)\\Luxion License Server" Folder.
12. Launch Luxion License Server.
13. Click on Install License tab (Field should be empty).
14. Download your license file from your email and click New License button.
15. Load your KeyShot floating license file.

 

 

 

- [Technical Support](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#main-content)

    - [KeyShot Studio](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#keyshot-studio)
    - [Network Rendering](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#network-rendering)
    - [KeyVR](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#keyvr)
    - [Plugins](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#plugins)
    - [How-To](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#how-to)
    - [KeyShot Hub](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#keyshot-hub)
    - [KeyShot Web](https://support.keyshot.com/en/knowledge-base/technical-support?hsLang=en#keyshot-web)
- [License Support](https://support.keyshot.com/en/knowledge-base/license-support?hsLang=en#main-content)

    - [Node-Lock](https://support.keyshot.com/en/knowledge-base/license-support?hsLang=en#node-lock)
    - [Floating](https://support.keyshot.com/en/knowledge-base/license-support?hsLang=en#floating)
    - [Subscription](https://support.keyshot.com/en/knowledge-base/license-support?hsLang=en#subscription)
- [FAQs](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#main-content)

    - [General FAQs](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#general-faqs)
    - [Key VR](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#key-vr)
    - [KeyShot Studio FAQ's](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#keyshot-studio-faqs)
    - [KeyShot Web FAQ's](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#keyshot-web-faqs)
    - [KeyShot Network Rendering FAQ's](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#keyshot-network-rendering-faqs)
    - [KeyShot WebViewer](https://support.keyshot.com/en/knowledge-base/faqs?hsLang=en#keyshot-webviewer)
- [Announcements](https://support.keyshot.com/en/knowledge-base/announcements?hsLang=en)
- [Learning Content](https://support.keyshot.com/en/knowledge-base/learning-content?hsLang=en#main-content)

    - [Webinars](https://support.keyshot.com/en/knowledge-base/learning-content?hsLang=en#webinars)
    - [Quick Tips](https://support.keyshot.com/en/knowledge-base/learning-content?hsLang=en#quick-tips)
- [Downloads](https://support.keyshot.com/en/knowledge-base/downloads?hsLang=en)
- [Best Practices](https://support.keyshot.com/en/knowledge-base/best-practices?hsLang=en)

[![Chill listening crop-3](https://support.keyshot.com/hs-fs/hubfs/keyshot-logo-blk-3d.png?width=63&height=24&name=keyshot-logo-blk-3d.png "Chill listening crop-3")](https://www.keyshot.com/)

keyshot.com Help Center

Copyright © 2026, KeyShot