MVC Form Builder license error

Mark Elliott asked on September 1, 2020 21:29

Hello,

Working on building a MVC site and am getting a error when going into the Form Builder:

You don't have a valid license for current domain. See event log for more details.

Very strange since I have valid licenses for both the content site (admin.domain.org) and presentation site (dev.domain.org). I've triple checked that the licences are valid, even looking at the license table in the database.

Given that I'm not sure what this error could be in reference to?

Correct Answer

Juraj Ondrus answered on September 3, 2020 09:06

Are the web farms working ok? Are you using any port numbers in the setup? There were fixed some licensing issues in later hotfixes. Is it possible for you to apply the latest hotfix and also update the NuGet packages form Kentico in the MVC app?

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on September 2, 2020 06:19

What is the Kentico version including hotfix and what is the license edition? I would recommend applying the latest hotfix as there were some licensing bugs. What does the Event log entry say? What are the details?

0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on September 3, 2020 04:26

Hi Juraj

It's on K12 v12.0.57

There's actually nothing in the event log (even tho it says see event log for more details). I can see the details in Windows Event Viewer though...

Exception information: 
    Exception type: HttpException 
    Exception message: You don't have a valid license for current domain. See event log for more details.
   at CMS.LicenseProvider.LicenseHandlers.CheckLicenseForCurrentDomainInExternalApplication()
   at CMS.Base.AbstractHandler.CallEventHandler[TArgs](EventHandler`1 h, TArgs e)
   at CMS.Base.AbstractHandler.Raise[TArgs](String partName, List`1 list, TArgs e, Boolean important)
   at CMS.Base.SimpleHandler`2.RaiseExecute(TArgs e)
   at CMS.Base.SimpleHandler`2.StartEvent(TArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on September 3, 2020 20:45

The web farms look ok as far as I can tell (they both show healthy). No not using any port numbers. I can try installing a later hotfix...this is a brand new MVC project so the NuGet packages were just installed at the beginning of the week.

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on September 4, 2020 05:28

You said you are using 12.0.57 - so some hotfix was applied. Were the Kentico NuGet packages also updated in the MVC app to match the hotfix version?

0 votesVote for this answer Mark as a Correct answer

Mark Elliott answered on September 9, 2020 00:09

Ok, applied the latest hotfix and the issue is resolved. The domain name for this site is 4 characters so it must have been fixed with 12.0.71

Thanks!

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.