We recently ran into a new issue when we try to push one of our extensions to Microsoft Dynamics NAV 2018 On-premise installations.
We used PowerShell script to upload the extensions to production and we did this couple of days ago too without an issue. However this time we got the below error during the installation :
“Your program license does not allow you to publish <table extension name>”
The instance was running with the customer’s license and we realized we need to find an alternative method. We had a couple of options,
1. Change the license, upload the extension and then change the license back
2. Create a new instance and use a development license to upload the extension
3. Try the runtime app option
We went with the third option this time to see how it’s going to work. If you like to read more about it please use this link.
We install the extension to the Development environment which was running with the Developer license and then used below PowerShell command to export the Runtime Package.
Get-NAVAppRuntimePackage -ServerInstance DynamicsNAV -AppName 'Proseware SmartApp' -Version 2.3.4.500 -ExtensionPath 'Prosware SmartApp_2.3.4.500_runtime.app'
Once we got the Runtime package we install it to the production environment with the use of the Publish-NavApp and the Install-NAVApp PowerShell cmdlets.
Tharanga Chandrasekara
2 comments
Thanks Tharanga – Life saver!
Very helpful, Tharanga. We appreciate the post.