0
alper created
Support Team
Director
Douglas W. has an issue about licensing. His license already expired.
fail: Volo.Abp.Account.Pro.Public.Web.Shared.AbpAccountPublicWebSharedModule[0]
ABP-LIC-0020 - License code not found! Ensure that your appsettings.json or appsettings.secrets.json has "AbpLicenseCode" key with your license code.
fail: Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial.AbpAspNetCoreMvcUiThemeCommercialModule[0]
ABP-LIC-ERROR - License check failed for 'Volo.Abp.AspNetCore.Mvc.UI.Theme.Commercial-v8.0.1.0'.
For more information, contact to license@abp.io.)
1 Answer(s)
-
0
normally this happens when your startup project doesn't have
AbpLicenseCode
. There's a simple check if you properly include the license code config in your host project. run the following code, whenAbpLicenseCode
is not empty it'll not throw any exception.var configuration = Microsoft .Extensions .DependencyInjection .ServiceProviderServiceExtensions .GetRequiredService<Microsoft.Extensions.Configuration.IConfiguration>(context.ServiceProvider); var licenseCode = configuration["AbpLicenseCode"];
Also check this => https://abp.io/support/questions/8633/