"Unable to establish session count" error

Bladed 4.16/4.17 is used with a "Standard" licence and without a network connection

"Unable to establish session count" licence error in Calculation Progress window

The "Unable to establish session count" licence error may occur when running a simulation when all of the conditions below apply:

  • Bladed 4.16 (4.16.3 and earlier) or Bladed or 4.17 (4.17.1 and earlier) is being used.
  • No network connection is available.
  • A "Standard" licence is being used (either on a standalone dongle, or on a network dongle plugged into the local machine). Please note that this issue affects standalone licences, even though a network connection is not otherwise required to run Bladed using a standalone licence.

This error is caused by a bug present in Bladed 4.16 (4.16.3 and earlier) and Bladed 4.17 (4.17.1 and earlier).

Solutions:

The error can be avoided by taking any of the following actions:

  • Upgrade the installation to the latest version:
  • If possible, turn on network connectivity.
  • Use a "Hybrid" or "Processor-only" licence (if available) to run simulations.
  • If you are using a "Standard" network licence, you may be able to convert it to a "Hybrid" network licence (which will not be affected by this issue). Please contact us to check if your licence can be converted.

Other scenarios

If the conditions in the section above do not apply, please check following settings in the licence manager:

  1. If the licence manager on either the client or the licence server is password-protected, the password should be removed (Bladed does not currently support licence manager password protection). Please contact us for further assistance.

If using a network licence:

  1. On the licence server, navigate to http://localhost:1947/_int_/config.html. Check that the Allow Remote Access to Admin API setting has the value HTTP. If not, please contact us for further assistance.
  2. Check that the licence server and all remote clients are running the same licence manager version:
    a. Navigate to http://localhost:1947/_int_/devices.html. In more recent releases of the licence manager (9.x), the version is indicated in the bottom right corner of each screen.
    b. If there is no version number in the bottom right corner of the screen, navigate to http://localhost:1947/_int_/about.html. The version is the value of Run-time installer.
    c. If there is a mismatch, align the installed licence manager versions across server and remote clients (please contact us for further assistance).

"Waiting to check session permission..." error

Bladed 4.16/4.17 is used with a "Standard" licence and an encrypted model

"Waiting to check session permission..." licence error in Calculation Progress window

The "Waiting to check session permission..." licence error may occur when running a simulation when all of the conditions below apply:

  • Bladed 4.16 (4.16.3 and earlier) or Bladed or 4.17 (4.17.1 and earlier) is being used.
  • A "Standard" licence is being used (on either a standalone or network dongle).
  • The Bladed model contains encryption.
  • It is attempted to run more than one simulation in parallel.

This error is caused by a bug present in Bladed 4.16 (4.16.3 and earlier) and Bladed 4.17 (4.17.1 and earlier).

Solutions:

The error can be avoided by taking any of the following actions:

  • Upgrade the installation to the latest version:
  • Use a "Hybrid" or "Processor-only" licence (if available) to run simulations.
  • If you are using a "Standard" network licence, you may be able to convert it to a "Hybrid" network licence (which will not be affected by this issue). Please contact us to check if your licence can be converted.

Other scenarios

If the conditions above do not apply, this error can also occur if too many parallel simulations are started at the same time. Try starting fewer simulations at the same time, and/or leave more time before starting consecutive batches of simulations.


External Loads licence error in Bladed 4.8

The following error is received when attempting to run a simulation using an External Loads DLL in Bladed 4.8:

ERROR: Use of an external loads DLL requires an External Loads DLL licence

The External Loads DLL functionality was officially released in Bladed 4.9, but a preview of the functionality was released in Bladed 4.8. From Bladed 4.9 onwards the External Loads DLL functionality is included as part of the Base module, but in Bladed 4.8 an additional module on the licence is required. Please contact us to request an update for your licence.


Processor-only licence does not work with certain Bladed 4.3-4.6 versions

Processor-only licences do not work with earlier releases of Bladed 4.3 to 4.6; they are compatible with the following Bladed versions:

  • 4.3.0.84 and later
  • 4.4.0.133 and later
  • 4.5.0.109 and later
  • 4.6.0.99 and later
  • 4.7 and later – all versions
  • Linux dtbladed – all versions from 4.10

Calculation message log file

In the event that a Bladed calculation fails due to a licence error, start by inspecting the content of the $ME file which is typically found in the calculation output folder. This will list specific errors encountered when attempting to discover or validate licences, and in some cases lists possible suggestions to fix the error.

For more advanced logging, see the Calculation licence log file section below.


Calculation licence log file

The calculation licence log file (GH.Common.HASP.C.log) can be generated if the calculation licence is not functioning correctly:

  1. Run the Bladed GUI. Open Tools > Preferences, and ensure the option Warn when starting calculation is ticked:

    User Preferences dialog with "Warn when starting calculation" option highlighted

  2. Open a project that reproduces the issue and click Run Now. The following Starting Calculation prompt should be shown (leave the prompt open without choosing any option):

    Starting Calculation dialog

  3. Open File Explorer and navigate to the Bladed installation folder (e.g. C:\DNV\Bladed 4.18). There should be a subfolder with name starting $$$$ followed by a number, e.g. $$$$12345.0. This is the working folder.
  4. Navigate to the working folder and find the file dtbladed.in. Open dtbladed.in in a text editor.
  5. Search for the key DONGLOG (near the top of the file). Change its value from 0 to 1. Save this change over the existing dtbladed.in file.
  6. Open an administrator command prompt (type cmd.exe into the Start menu, right-click the app and choose Run as administrator).
  7. In the administrator command prompt, change directory to the $$$$ folder above, e.g. cd /d “C:\DNV\Bladed 4.18$$$$12345.0”
  8. From the same command prompt, launch dtbladed using the relative path: ..\dtbladed.exe
  9. Wait for the simulation to complete and find log file GH.Common.HASP.C.log in the working folder identified in step 3. Copy this file to a safe location.
  10. Close the command prompt and click Abort on the Starting Calculation prompt in the Bladed GUI.

Need help?

If the information above does not help to resolve your problem, please contact us for further assistance.

When contacting us, please provide all relevant details related to the problem, such as:

  • Dongle number (e.g. DT/1234) or Key ID
  • Screenshots of any error messages or other symptoms
  • Steps to reproduce the problem
  • Any relevant log files