This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice This article is not considered official documentation for K2 software and is provided “as is” with no warranties.
When updating the K2 License Key via the K2 Setup Manager, the licence key will not be updated as expected and the K2 Server will still be in an unlicensed state.
K2 Designer will show the following error:
"SmartObject Server Exception: 1059 SourceCode.SmartObjects.Runtime.SmartObjectManagementServer component not licensed!
1059 SourceCode.SmartObjects.Runtime.SmartObjectManagementServer component not licensed!"
K2 Management and K2 Workspace will show the following error
"Expired License Your license has expired. Please contact your K2 representative. K2 Support"
To resolve this issue, please do the following:
- Run the script below to determine the HostName on the K2 Server:
SELECT * FROM [K2].[HostServer].[LicenseKey]
- If the Computer name is different from the ServerName, please execute the script below:
UPDATE [K2].[HostServer].[LicenseKey] SET HostName = 'ServerName ' where HostPort = '5555'