> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/troubleshooting/security-expired.md).

# A message says a service's security has expired

DATRAN Browser says a service's security has expired, or a service stops working. The service needs a new licence key.

If you have installed a fresh installation of DATRAN or installed any new components during your DATRAN upgrade, then these components will require a license key to be installed in order to activate them. Unlicensed components are detected when DATRAN Browser is started, and a message box is displayed. Some services will operate for a limited time (about 30 days) before requiring the license key to be applied.

{% hint style="info" %}
**Applies to:** almost all services in the DATRAN SCADA Suite, which require security keys or licenses to make them operable. DATRAN Supervisor and DATRANVue connect through the DATRAN TCP Server, which has its own license.
{% endhint %}

## Why it happens

* Licenses have an expiry date which is notified when the licence keys are generated.
* If you have installed any new components during your DATRAN upgrade, then these components will require a license key to be installed in order to activate them.
* Licences are linked to the volume ID of the drive. If the drive fails keys can be regenerated for the new drive but keys for the old drive will be archived and no longer usable. Similarly, systems can be migrated to new hardware and QTech will generate new keys if it can be shown that the old machine is being decommissioned.
* SMS Direct shares the license key with the XML Data Interface SMS Service. On start-up of the SMS Direct service it will copy its license key from the SMS Service. Therefore if you do not have the SMS Service program licensed then SMS Direct will not work.

## What to do

1. Check the service's **Security Expiry**: the **Security** and **Security Expiry** nodes are where you enter your security unlock codes and where to find when the security expires.
2. You can request a license by contacting QTech, preferably by email so that QTech can send license keys back to you. See [Licensing](https://help.qtech.co.nz/datran/datran-vi-scada/datran-vi/licensing.md).
3. Double-click on the service's application node in DATRAN Browser, open the **State** tab in the Application Dialog and enter the license key in the **Security Key** text box, then click **OK**. The only exception to this is with the DATRAN XML Data Interface service. Because this service carries out a number of tasks, it has its own dedicated **License** tab for entering the licenses rather than entering them in the **State** tab. Some of the services will pick up the license and begin using it as soon as OK has been clicked, but others may require a restart before the license is applied.

## Supervisor and DATRANVue

A DATRAN TCP Server has a license that will expire. It can have a maximum number of DATRANVue viewer applications, DATRANVue Designer applications and DATRAN Supervisor applications connected to it at any one time. See [Values and set points stop updating](https://help.qtech.co.nz/datran/datran-vi-scada/datran-supervisor/troubleshooting/values-stop-updating.md).

## Still not working? Contact QTech

Email <techsupport@qtech.co.nz> with the exact message, the service name, its **Expiry** from the **State** tab, and the computer name and disk volume ID.
