Licensing service failed with error code -1


Area: Licensing - Technical

 

Error or Warning Message

When opening a product, an error appears that includes the following message:

Licensing service failed with error code -1

Error message

Explanation

The Bentley Licensing Service, a background process responsible for retrieving licenses on behalf of products using our Subscription Entitlement Service, is either not running or is not functioning properly.

How to Avoid

Please perform the following troubleshooting steps:

  1. Right-click on the Windows Start menu, and select Task Manager.
  2. Ensure Bentley.Licensing.Common for Windows (or Bentley.Licensing.Services for Windows for older versions of CONNECTION Client) is running.
  3. If Bentley.Licensing.Common/Bentley.Licensing.Services is not running, open the Windows Start menu, and do a search for Bentley Licensing Tool. This component will attempt to start the Bentley Licensing Service.
  4. If Task Manager is showing the Bentley Licensing Service running, attempt to start your product now.
  5. If problem is not resolved -  

     

    Sign out of Connection Client

     

    Open task manager and end Bentley.Licensing.Service.exe, Bentley.Connect.Client.exe and all other Bentley programs. Wait couple of minutes to be sure they do not start again.

     

    Download, unzip, and install sqlite-netFx46-setup-bundle-x64-2015-1.0.119.0.exe.zip

     

    Run the file and Select Full Installation and check "install the assemblies into the global assembly cache." box -

     

     

    Restart the machine

    Sign in to Connection Client

    Try to start Product

  6.  If problem still persists, gather logs and contact licensing support for further assistance by either filing a service request or calling our support line and choosing option 3 followed by 1.

 

See Also

How to collect and submit logs

Creating a new Service Request (Licensing and User Administration)

Other Language Sources

Deutsch

Polski