0 Replies Latest reply on May 2, 2005 4:27 PM by Anita Anello

    Error Message "Can not read license data,check if the license service

    Anita Anello

      Error Message "Can not read license data,check if the license service
      is working and retry".

      Error message "Cannot log in without a valid license. Add license

      and restart application".

      These errors appear when you try to log in to SAP Business One.

      Other terms
      Error, message, license, log in, valid, restart, application,
      company, MSDE, XP, registry, regedit, SAP Business One

      Reason and Prerequisites
      No license service is installed or no valid license was registered and
      the user trying to log in is not a super-user.

      Solution
      For any kind of errors regarding the license service perform the following steps:

      1. Select Start => Settings => Control Panel => Administrative Tools => Event Viewer.
      2. In the Event Viewer menu, select "System Log".
      3. If an error is displayed on the right hand side of the window, double click on the error and check its description.
      4. In the Event Viewer menu, select "Application Log". Double click on the most recent error message referring to "SBOLicMgr" (SAP Business One License Manager") and check if the error description is "No license service is installed".
      5. Go to Start-> Settings-> Control Panel-> Administrative Tools-> Services. The license service is installed under "SAP Business One License Service".
      6. If you cannot locate this service, you must first install it.
      7. If the license service is installed but when you try to start it you get the error message: "The system can not find the file specified".
      8. Right click on "SAP Business One Service".
      9. Select "Properties".
      10. Check the "Path to executable". This path should lead to the license application. If it doesn't, it might be that the license folder name has been changed or deleted.
      11. Change the folder name into its original name (the current name displayed in "Path to executable") or uninstall the license and reinstall it again.

      If a license service is installed but no license number is registered yet:

      1. The Machine ID form, which allows you to register a valid license number, opens only for a super-user. If a regular user tries to log into SAP Business One before the license number is registered, the above error message will also be displayed.
      2. Ask a super-user to log-in in order to get the Machine ID form.

      The License service can not connect to the database SBO-COMMON:

      1. The SBO-COMMON Database does not exist on the SAB Business One server when you try to connect to (Current Server in the "Choose Company" window).
      2. Select the correct server or reinstall the database.

      There are more than one instances of SQL server installed on the SAP Business One server. In such case you should predefine the server in the registry. To do so, do the following steps:

      1. Select Start = > Run.
      2. In the "Open" field, type "Regedit".
      3. Expand the folders: HKEY_LOCAL_MACHINE => SOFTWARE => SAP => Sap Manage => LicMgr.
      4. If the "SAP", "Sap Manage" or "LicMgr" folders do not exist, create them.
      5. Make sure that the "SAP" folder corresponds to the SOFTWARE subdirectory,"Sap Manage" to the SAP subdirectory and "LicMgr" to the Sap Manage subdirectory.
      6. Click on the "Licmgr" folder.
      7. Right click in the left-hand side of the window.
      8. Select "String Value".
      9. Name it "Server".
      10. Double click on the "Server" string.
      11. In the "Enter data" field, type the SAP Business One server name.
      12. Click "OK".
      13. Stop the SAP Business One License Service and start it again.
      14. Run SAP Business One.

      The system can not connect to the license service or the license is installed on a different server than thSAP Business One server. To solve the problem, follow the steps described in the previous section (setting license server under "HKEY_LOCAL_MACHINE).


      The SBO-COMMON Database is not accessible.

      The SBO-COMMON database has the status "suspect". This can be detected from Enterprise Manager. Expand the Database folder in Enterprise Manager. The text "suspect" is displayed on the right of the database name. To solve this, do the following steps:

      1. Use the SQL query analyzer to run the Stored Procedure SP_RESETSTATUS.
      2. For more details, refer to "Books Online".
      3. Select Start => programs => Microsoft SQL Server = > Books Online.
      4. Use the keyword "sp_resetstatus".

      There is another server with the user OBScommon from the current server. The SBO-COMMON database is corrupted.

      1. Open "Enterprise Manager".
      2. Expand the "Databases" folder.
      3. Expand the "SBO-COMMON" database.
      4. Click on the "Tables" icon. If an error message is displayed, refer to the Microsoft SQL Server Books Online. Select Start => programs => Microsoft SQL Server = > Books Online. Use the error message or the error number as search key words.
      5. SBO-COMMON database backup restoration can be used. Make sure you are restoring a backup from your most recent version. To restore database you can also use the SAP Business One installation (server installation).

      The OBScommon SQL user password was changed. SAP Business One user should avoid changing the OBScommon user password since the system uses this predefined password to connect to the SBO-COMMON database. The following steps should not be done without consulting SAP Business One support team:

      1. Delete "obscommon" user from all SAP Business One databases.
      2. Delete "obscommon" user from the Enterprise Manager => Security => logins.
      3. Uninstall the licence program.
      4. Reinstall the license program. This installation will recreate the OBScommon SQL user with the correct password.

      The obscommon SQL user was removed from the SBO-COMMON database SQL users. Follow these steps:

      1. Expand the "Databases" folder.
      2. Click on the "Users" icon under SBO-COMMON database.
      3. Select "Action" from the taskbar.
      4. In the pop up menu of the "Login" name, select the user "OBScommon".
      5. Under "Permit in Database Role", check the "Public" and "DB_owner boxes.
      6. Click "OK".

      The "obscommon" SQL user does not have the proper SQL access rights to the SBO-COMMON database. To solve the problem do the following steps:

      1. Open "Enterprise Manager".
      2. Expand the "Databases" folder.
      3. Expand the "OBS-COMMON" database.
      4. Click on the "Users" icon.
      5. Right click on the "obscommon" user.
      6. Select "Properties".
      7. Under "Permit in database role", check the "Public" and "DB_owner" boxes.

      The SBO-COMMON database was restored from a backup which came from a different SQL Server. To solve the problem do the following steps:

      1. Open "Enterprise Manager".
      2. Expand the "Databases" folder.
      3. Click on the "Users" icon under "SBO-COMMON" database.
      4. Right click on the user "OBScommon in the right-hand side of the window.
      5. Select "Delete".
      6. Select "Action" from the upper menu.
      7. From the pop up menu of the "Login" name select the user "OBScommon".
      8. Under "Permit in Database Role" check the "Public" and "DB_owner" boxes.
      9. Click "OK".

      *** This action is replacing the user OBScommon which came from another server with the user OBScommon from the current server.


      The SQL user obscommon cannot connect to the SBO-COMMON database for a reason which can not be detected. To by-pass this SQL user, do the following steps:

      1. Select "Start" = > Run.
      2. Into the "Open" field type "Regedit".
      3. Expand the folders:
      HKEY_LOCAL_MACHINE => SOFTWARE => SAP => Sap manage => LicMgr. If the "SAP" or "SAP Manage" or "LICMGR" folders do no exist, create them.
      4. Make sure that the SAP folder corresponds to SOFTWARE subdirectory and "Sap Manage" to SAP subdirectory and "LicMgr" to Sap Manage subdirectory.
      5. Click on the "Licmgr" folder.
      6. Right click on the left-hand side of the window.
      7. Select "String Value".
      8. Name it "Use_Trusted".
      9. Double click on the "Use_Trusted" string.
      10. In the "Enter data" field type "Y".
      11. CLICK "OK".
      12. Stop SAP Business One License Service and start it again.

      If a machine running on XP has MSDE installed and the following error message appears: "Cannot read license data, check if the license service is running." and the service is running and all of the above have been unsuccessfully performed, try the following:

      1. Go to "Start" -> "Run", type "regedit" an select "HKEY_local_machine.
      2. Back up the registry.
      3. Change the registry key login mode from "1" to "0". ("1" stands for "windows authentication", "0" stands for "mixed mode")
      4. Reboot the PC and login again.