"Null value set for attribute UserLicenseType of class type System.EndUser. This attribute is mandatory and must contain a non-null value."

Version 16

    Verified Product Versions

    LANDESK Service Desk 7.7.xLANDESK Service Desk 7.8.xLANDESK Service Desk 2016.xLANDESK Asset Central 2016.x

    AFFECTED VERSIONS

    7.6.1 and higher.

     

     

    PROBLEM

    You have just upgraded to 7.6.1 or higher, and are receiving the following error message:

     

    "Null value set for attribute UserLicenseType of class type System.EndUser. This attribute is mandatory and must contain a non-null value."

     

     

    CAUSE

    This happens to any system that has been upgraded directly from 7.4, or older, to 7.6.1, or later.

     

     

    SOLUTION
    Run the attached scripts.  First the one to fix NULLs, then the one to clear down End User Licences.

     

     

    ** Please note you also need to go to Object Designer / System / User and make sure the User Licence Type attribute's default value is set to blank. **