Licensing
Version: 10.4
A Sitecore Host application requires a valid Sitecore license file to run. You must put this file on disk, and it is read and validated when the host starts up.
Any problems with the file results in the program exiting with a LicenseException
.
By default, the host application tries to load the license file from <root>;/sitecoreruntime/license.xml
.
You can change the location of the license file in the sitecorehost.xml
file of the host application:
RequestResponse
<Sitecore>
<Host>
<LicenseFilePath>c:/license.xml</LicenseFilePath
You can specify either a full path or a relative path. Sitecore appends a relative path to the ContentRootPath
path by default.