Tech Note 0027
License Registration Errors
Common errors received when registering an MTP/IP license code
Each MTP/IP application or library has a license code, which identifies the owner of the license and the conditions under which it may run. Trial software and most clients are self-registering, but purchased server licenses require the license code to be entered during installation. The code is then saved for run-time operation. License codes for purchased software are listed in the MTP-Codes.pdf document which you can download from your customer site.
Refer to the Setup chapter of your product documentation for more information about how to register a license code.
If MTP/IP is not able to validate a license code, it will return an error value and may display one of the following MTP0 diagnostic messages below.
Steps to Correct
Download the latest MTP-Codes.pdf document from your customer site or verify with your administrator that you have the correct code.
Download the latest distribution package from your customer site or verify with your administrator that you have the most recent package. See Tech Note 0001 for guidance on determining the software version you are running.
Make sure that the license code you are using matches the software you are registering.
For host-bound server licenses, make sure that the host identifier of the system you are installing on matches that of the license. See Tech Note 0007 for more information about host binding.
Make sure that you are not trying to install a trial or older version of the software. See Tech Note 0012 for guidelines on installing new MTP/IP software over existing MTP/IP software.
Perform all registration operations using a local administrator account. If you attempted to register a license while logged in as a Windows domain administrator and are now receiving "Improperly formatted license code" or "Invalid license code" errors, see License Storage below for instructions.
Contact DEI technical support for help.
License Storage
After an MTP license code is validated, a license token is stored in a host-specific location for future use. This token is tied to the system on which it was created and will not work if copied to other systems. This may create conflicts in environments with clustered storage or when installing from a Windows domain administrator account.
On unix systems, including macOS, the license tokens for servers and command-line clients will be saved in ~/.dei-mtp and copied into /etc/dei-mtp if this file is writeable by the installer. Placing the token in /etc/dei-mtp registers the application for all users of the system.
On macOS systems, graphical clients store license tokens in their preferences databases: ~/Library/Preferences/com.dataexpedition.DropDat.plist, ~/Library/Preferences/com.dataexpedition.ExpeDat-Desktop.plist, or ~/Library/Preferences/com.dataexpedition.WebDat.plist.
On Windows systems, license tokens will be saved in the Current User class under dei\mtp and copied into the Local Machine class if that is writeable by the installer. A backup token will also be placed in the LocalAppData folder in the file dei\dei-mtp.dat. It is important to register server licenses as the same local admin user that will be used to run the service. If you use a domain administrator to install a server, or fail to run the installer "As Administrator", the Windows Service may fail to launch.
When installing server software on a Windows system, do so while logged into a local Administrator account. Installing server software as a domain user may result in "Improperly formatted license code" or "Invalid license code" errors at run time.
If you change your hardware configuration, you may be required to re-enter your license code. For example, the first time you switch from an ethernet to a wireless network, you may need to re-enter your code.
If an application repeatedly asks for a license code, or if it fails to start with "Improperly formatted license code" or "Invalid license code" error, then the license tokens may be corrupt or there may exist multiple conflicting codes.
Contact DEI technical support for help if these steps do not resolve the problem.
Tech Note History
| Feb | 11 | 2026 | Clarified when license codes are needed |
| Aug | 26 | 2025 | Minor updates |
| Oct | 22 | 2021 | Updated license storage locations |
| Oct | 08 | 2021 | Updated formatting and instructions |
| Aug | 01 | 2016 | Access permission |
| Nov | 03 | 2014 | "Not Initialized" |
| Feb | 15 | 2013 | Domain Issues |
| Nov | 30 | 2012 | License files |
| Apr | 04 | 2011 | MTP 3.15 |
| Mar | 23 | 2011 | First Post |