X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



8229 Rate this article:
5.0

Error "Invalid License File Syntax" - Using MS Outlook as an Email Editor

THIS INFORMATION ONLY PERTAINS TO SOFTWARE VERSIONS IDL 8.5, ENVI 5.3 AND PRIOR
 

Topic: 

This Help Article is an expanded explanation of the Windows error referenced in Help Article 4048.

After installing the permanent license information via the licensing wizard program, some users may observe the following error message when attempting to start ENVI or IDL:

 

  • % LICENSE MANAGER: Invalid license file syntax
    Feature: idl
    Filename: C:\Program Files\Exelis\license\license.dat
    License path: C:\Program Files\Exelis\license\license.dat
    FLEXnet error: -2,413 System Error: 2 "No such file or 
    directory"


As discussed in Help Article 4048, one of the causes this could relate to is inadvertent line wrapping introduced by the email program.

Discussion: 

Since the introduction of MS Outlook 2002, Outlook has removed extra line breaks in Plain-Text emails. This causes the error "...Invalid license file syntax..." when users copy and paste the embedded license from the activated license email. The below are two examples of an incorrectly formatted license (received from a MS Outlook 2007 email system) and a correctly formatted license.


Embedded License received from Outlook
####################### LICENSE.DAT ####################### ############ license file comments, do not delete ############### # License Number(s): XXXX INCREMENT idl idl_lmgrd 6.300 1-jan-0000 uncounted 5B65E4CACEC3612A \
   VENDOR_STRING="XXXXX EXELIS \
   HOSTID=XXXXXXXXXXXX PLATFORMS="i86_n x64_n" ck=131 INCREMENT envi_cartosat idl_lmgrd 4.300 1-jan-0000 uncounted \
   91120889FEB01A5A VENDOR_STRING="XXXX EXELIS"\
   HOSTID=XXXXXXXXXXXX PLATFORMS="i86_n x64_n" ck=72 INCREMENT envi idl_lmgrd 4.300 1-jan-0000 uncounted B012ED5AD0704A23 \
   VENDOR_STRING="XXXX EXELIS" \
   HOSTID=XXXXXXXXXXXX PLATFORMS="i86_n x64_n" ck=92 ##################### end of license file #######################

###########################################################

Correctly Formatted License.dat file
####################### LICENSE.DAT #######################
############ license file comments, do not delete ###############
# License Number(s): XXXX
INCREMENT idl idl_lmgrd 6.300 1-jan-0000 uncounted 5B65E4CACEC3612A \
   VENDOR_STRING="XXXXX EXELIS" \
   HOSTID=XXXXXXXXXXXX PLATFORMS="i86_n x64_n" ck=131
INCREMENT envi_cartosat idl_lmgrd 4.300 1-jan-0000 uncounted \
   91120889FEB01A5A VENDOR_STRING="XXXX EXELIS" \
   HOSTID=XXXXXXXXXXXX PLATFORMS="i86_n x64_n" ck=72
INCREMENT envi idl_lmgrd 4.300 1-jan-0000 uncounted B012ED5AD0704A23 \
   VENDOR_STRING="XXXX EXELIS" \
   HOSTID=XXXXXXXXXXXX PLATFORMS="i86_n x64_n" ck=92
##################### end of license file #######################

###########################################################

Below are few methods that ought to resolve this issue:
 

 

  • Right click on the gray line located in the email header (images 1 and 2) and select Restore line breaks.

  • To resolve this issue from happening in future Plain-Text emails, please do the following: (image 3)
    •    

    •    Click Tools -> Options -> Preferences tab page -> Email Options

    •    Uncheck the item - "Remove extra line breaks in plain text messages"

    •    Click OK





    •  
    •  
    •  
    •  


Image 1 (Right Clicking on the Extra Line Breaks Message)



Image 2 (Right Clicking on the Extra Line Breaks Message)
 



Back to Top

 

 

 

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »