Open Closed

ABP-LIC-0020 - License code not found! #9442


User avatar
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.)
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    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, when AbpLicenseCode 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/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.