IMD SolutionComputing LibraryShop main store

Troubleshooting

Process Historian GrantLicense Failed means a license problem

Operating systems on the plant floor Published 6 min read

Short answer

GrantLicense Failed in the Process Historian 2014 diagnostic console is a licensing fault, not a database fault: the historian could not obtain its runtime entitlement at startup. Capture one controlled startup, read the Automation License Manager records for that attempt, correct the license condition, then plan the move to 2014 SP3 UPD6 on a supported operating system.

On this page
  1. Why does Process Historian go from Starting back to idle?
  2. Why is a visible license not the same as a granted license?
  3. Which logs should I collect for one startup attempt?
  4. What do the Automation License Manager records tell me?
  5. Why does a clean DBCC result not help here?
  6. Should I upgrade Process Historian 2014 SP2?
  7. How do I confirm the fix worked?
  8. Decision
  9. Questions asked

GrantLicense Failed in the Process Historian 2014 diagnostic console means the license grant failed: the historian could not obtain its runtime entitlement, so startup aborts and the service returns to idle. It is a licensing fault, not a database fault. Your DBCC result already proves the storage database is intact, so repeating it tells you nothing new. Diagnose the license grant first, using one controlled startup and the Automation License Manager records for that attempt, and treat the move to Process Historian 2014 SP3 UPD6 as the follow-up upgrade once the license condition is fixed.

Why does Process Historian go from Starting back to idle? #

The historian requests its license during the Starting phase, and when the grant fails the startup sequence aborts and the service returns to idle. The state sequence alone never identifies the failing dependency; the diagnostic console entry is what names it. In your case that entry is GrantLicense Failed, which identifies the failed operation as license acquisition.

Read the diagnostic entries immediately before the return to idle as well as the GrantLicense Failed line itself. Adjacent records distinguish an unavailable entitlement from a licensing-component or communication failure, and that distinction decides the repair.

Why is a visible license not the same as a granted license? #

A license entry in the Automation License Manager is not a runtime allocation. Three separate questions decide whether the historian starts:

  • Does the license manager detect the intended historian entitlement at its configured location?
  • Does it report that entitlement with a usable status?
  • Does the historian actually obtain, or book, the entitlement during startup?

Checking only the first question leaves the real failing operation untested. Allocation, also called booking, means the entitlement is assigned to the requesting application at grant time. A key can sit visible and valid in the manager and still fail to reach the historian because of a component fault, a communication problem or a conflicting allocation.

If your licensing arrangement uses a remote license server rather than a local key, inspect that computer and the communication path too. Determine the actual arrangement from the installed configuration: a local logging directory on the historian host does not prove the entitlement resides locally.

Which logs should I collect for one startup attempt? #

Collect two records from one controlled startup, matched by time:

  1. Note the exact time, then start Process Historian once and let it return to idle.
  2. Capture the historian diagnostic console entries for that attempt, including the full GrantLicense Failed text and anything adjacent to it.
  3. Read the Automation License Manager logging directory, which on this installation is C:\ProgramData\Automation\Automation License Manager\Logging — the documented path is C:\ProgramData\Siemens\Automation\Automation License Manager\Logging under the Siemens folder of ProgramData. Match only the records stamped at the attempt time; earlier licensing messages are not relevant to this attempt.
  4. Record the installed software levels — Process Historian Server 2014 SP2 and Automation License Manager V5.3 + SP2 + Upd2 here — and the license manager service state, from Windows services.

Save this record set before changing anything on the installation. Repeat startups without collecting new records teach you nothing; a second failure produces a second identical line, not a new diagnosis.

What do the Automation License Manager records tell me? #

The record for the attempt timestamp tells you which of the three grant conditions failed:

  • No entitlement or an unusable status: the historian license key is missing, transferred away, expired or damaged. Restore or transfer a valid key using the license manager's own transfer workflow; copying license files between folders is not a transfer and produces an entitlement the manager cannot validate.
  • A communication or component-start failure: the license manager service did not serve the request. Restart the service, and if it stops again after Windows updates or shows a damaged license cache, repair it at that level before touching the historian.
  • A conflicting allocation: the entitlement exists but is booked elsewhere. Identify and release the allocation, then retry the grant.

Commit to the condition the record names, fix exactly that condition, and run one retest. If GrantLicense Failed recurs, use the new license manager records to refine the diagnosis rather than restarting the historian repeatedly.

Why does a clean DBCC result not help here? #

DBCC checks database integrity, not application authorization. A clean DBCC result on the historian storage database proves no corruption contributed to the startup failure; it says nothing about licensing, licensing communication or any other startup dependency. Database integrity and license acquisition are independent checks. With both the DBCC result and the license records in hand, you have eliminated two of the major startup dependencies and can read the remaining diagnostics for anything else — which is also the discipline used when a historian logs fine but throws unrelated warnings, as in the case of stopping IDAS warnings on a historian that logs normally (article:stop-idas-warnings-on-a-historian-that-logs-fine).

Should I upgrade Process Historian 2014 SP2? #

Yes, after the license condition is fixed. Process Historian 2014 SP2 with Automation License Manager V5.3 SP2 Upd2 is an aged software level, and the documented update candidate is 2014 SP3 UPD6. Before you upgrade, read its release notes and compatibility documentation for three things: the supported operating systems for that release, the required Automation License Manager version, and the upgrade path from SP2. Select the operating system from that release documentation, never from memory.

Apply the update as a controlled change: preserve the historian configuration and database backups, follow the documented installation sequence, and keep the pre-change diagnostic record for comparison. Treat SP3 UPD6 as an update candidate, not a demonstrated repair for this error — upgrading without first identifying the license condition can leave the same GrantLicense Failed on a different software level.

How do I confirm the fix worked? #

Acceptance is three readings after the change:

  • License visibility and status: the Automation License Manager shows the historian entitlement present and usable at its configured location.
  • License allocation during startup: one startup attempt produces a grant or booking indication in the license manager records, with no new GrantLicense Failed for that attempt.
  • Historian startup completion: the console leaves the Starting phase and reaches an active operating state instead of returning to idle.

If all three readings pass, the licensing fault is resolved. If the grant succeeds but the historian still fails to stay active, the remaining cause is a different startup dependency, and the new diagnostic record — not the license subsystem — is where to look next.

Decision #

For a Process Historian 2014 SP2 that cycles idle → Starting → idle with GrantLicense Failed in the console and a clean DBCC result: capture one controlled startup, correlate the console entry with the Automation License Manager records at that timestamp, and repair the named license condition — missing key, service fault or conflicting allocation — using the license manager's own workflow. Retest once. Then upgrade to 2014 SP3 UPD6 on an operating system listed in that release's compatibility documentation. Do not repeat DBCC checks and do not upgrade before the license condition is identified.

Questions asked

Where does Automation License Manager write its log files on Windows?

On a standard Windows installation the license manager writes its records under C:\ProgramData\Siemens\Automation\Automation License Manager\Logging. The same actions are also visible in the license manager's own log view, which you enable from its View settings. Open the log for the time of the startup attempt rather than reading the whole history of the file.

Can I fix a license grant failure by copying license key files from another computer?

No. Copying license-related files between folders is not a supported license transfer and can leave an entitlement that the license manager cannot validate. Move licenses with the license manager's own transfer workflow, from the documented source such as a license disk, USB stick or the remote license server, and confirm the key shows a usable status on the historian host afterward.

Does the Automation License Manager service stop after Windows updates?

Reported cases exist where the license manager service stops after Windows updates or accumulates a damaged license cache, which produces exactly this kind of grant failure. Check the service state on the historian host before the next startup attempt, restart it if it is not running, and read its records to confirm whether a component fault accompanied the failed grant.

Keep reading

  • Troubleshooting

    Historian question mark in OCMC means a role problem

    The question mark on the Historian node in OCMC means the console cannot read the node for the identity that opened it: the account holds no Historian security group, or a restored Runtime database still carries the source node's name. Add the account to aaAdministrators through Configurator, sign out of Windows fully so the logon token refreshes, and sign back in.

    Edge computing and IIoT

  • Comparison

    PCS 7 CAS versus Process Historian: which archive to deploy

    Deploy the Process Historian on new and upgraded PCS 7 systems: it ships on the PCS 7 media, licenses by archived value count, and lands OS tags, messages and BATCH data in one SQL database. Keep the Central Archive Server only as a read-only archive for OS generations the current collector cannot read.

    Edge computing and IIoT

  • Troubleshooting

    PI-to-PI interface service will not start from FactoryTalk Historian

    When the PI-to-PI interface service will not start, the fault sits in the local launch, access to the two historians, or the FactoryTalk Historian license, which must permit native OSIsoft clients. Capture the exact startup error, work the three gates in fixed order, then prove the destination with values, timestamps and quality.

    Edge computing and IIoT