After upgrading to 29.4.1 we are getting the following error on startup:
System.NullReferenceException HResult=0x80004003 Message=Object reference not set to an instance of an object. Source=CMS.LicenseProvider StackTrace: at CMS.LicenseProvider.LicenseModule.SetInstanceId(Object sender, EventArgs e) 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.SimpleHandler2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler
2.RaiseExecute(TArgs e) at CMS.Base.SimpleHandler`2.StartEvent(TArgs e) at CMS.DataEngine.CMSApplication.Init() at Kentico.Web.Mvc.StartupConfigureActionBase.InitCmsApplication() at Kentico.Web.Mvc.StartupConfigureActionBase.Initialize() at Kentico.Web.Mvc.StandardStartupService.Initialize() at Kentico.Web.Mvc.IStartupConfigureActionExtensions.InitializeServices(IStartupConfigureAction startupService, IServiceProvider serviceProvider) at Kentico.Web.Mvc.IApplicationBuilderExtensions.InitKentico(IApplicationBuilder builder) at Program.<Main>$(String[] args) in C:\dev\repos\cc-com-2024\src\CancerCare.Web\Program.cs:line 142
This exception was originally thrown at this call stack: [External Code] Program.<Main>$(string[]) in Program.cs
We ran all the upgrade steps but are still getting the error.
It looks like we may not be the only one : https://devnet.kentico.com/questions/unable-to-start-the-application-after-29-1-4-29-4-0-upgrade-and-ci-import
Environment
- Xperience by Kentico version: 29.4.1
- .NET version: 8
- Deployment environment: Azure / Local