To run add-ons on client machines, you need to create an identifier string that enables the license service to recognize the add-ons. At runtime, the identifier string is passed to the SDK and the license service then verifies that a valid license exists in your license file before connection to the SAP Business One application is established.
For more information, see the License Guide on your SAP Business One product DVD.
Caution
Add-ons developed in ASP.NET use a default user to connect to the application. This user does not have remote access rights. If the license service is installed on a remote machine, the add-on cannot connect to the license service, which in turn cannot validate your add-on license, causing connection failure.
To resolve this issue:
Install the license service on the same machine as that of the IIS installation
Configure ASP.NET to a user who has remote access rights
You have imported the license key file. For more information, see Importing a License Key File.
From the SAP Business One Main Menu, choose
.Select the add-on license type for which you are generating the identifier:
Development – to run add-ons under the Development license
Implementation – to run add-ons under the Implementation license
Solution – to run add-ons under a distribution (Add-On Solution) license
If you are generating an identifier string for a Solution add-on, copy the license key name you received from SAP into the field of that name. Make sure you copy only the add-on name without the database type.
Choose the Generate button.
Copy the generated string to your code.
Note
Make sure you set the AddonIdentifier property before calling the Connect method.
UI API
SboGuiApi.AddonnIdentifier = “4CC5B8A4E0213A68489E38CB4052855EE8678CD237F64D1C11CD2707A54EBD245D596E4050AE9B929FBD0FAB44F6” SboGuiApi.Connect
DI API
Dim cmp As SAPbobsCOM.Company Set cmp = New SAPbobsCOM.Company cmp.UserName = "manager" cmp.CompanyDB = "SBODemo_US" cmp.Password = "manager" cmp.Server = “local” cmp.AddonIdentifier = “4CC5B8A4E0213A68489E38CB4052855EE8678CD237F64D1C11CD2707A54EBD245D596E4050AE9B929FBD0FAB44F6” cmp.Connect