Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sitecore license on Deployment

Tags:

sitecore

I've deployed my Sitecore project to the server and Im receiving the error

Required license is missing: Runtime Description: An unhandled exception occurred .....

Exception Details: Sitecore.SecurityModel.License.LicenseException: Required license is missing: Runtime

Do I need to download and install the Sitecore CMS Setup and enter the license key in that on the server ? I was expecting it all to be contained within the file structure of the web site.

PS/ Exscuse the fact that this is a pretty simple question - extremely pushed for time. Many thanks,

like image 743
Steve Ward Avatar asked Nov 07 '13 01:11

Steve Ward


People also ask

What is Sitecore deployment?

Sitecore offers three deployment options: managed cloud, self-managed cloud, or on-premises. Explore them all to discover which is best for your organization.

Is sitecore self hosted?

Self-managed cloud deploymentYou'll get the software license for your environment and can self-manage it in the cloud. You can purchase the following products for self-managed cloud deployment: Sitecore Experience Platform (XP), including Sitecore Experience Database (xDB)

Is sitecore cloud based?

Learn more about Sitecore's cloud-based hosting service. Sitecore Managed Cloud is a hosting service that enables customers to deploy Sitecore Experience Manager (XM), Sitecore Experience Platform (XP), and Sitecore Experience Commerce (XC) on Microsoft Azure.


1 Answers

The Sitecore license file is an XML file that is located in your \Data folder by default. It is also named "license.xml" by default. You should have a reference to this file in your web.config file:

  <!--  LICENSE
        This value define the physical location of the license file.
        Can be site path (ex. /folder/...) or absolute (ex. c:\folder\...)
  -->
  <setting name="LicenseFile" value="$(dataFolder)/license.xml" />

If your site is working in another environment but not your deployment environment, ensure that your path for the \Data folder is the same on this server. Change the path of the dataFolder variable if the path is different:

<sc.variable name="dataFolder" value="D:\<YOUR_PATH_HERE>\Data" />

Hope this helps.

like image 141
Craig Taylor Avatar answered Sep 25 '22 00:09

Craig Taylor