Open Closed

module template License code not found! #2159


User avatar
0
easonyang created

download module template application ,appsetting.js has AbpLicenseCode ,but exception

  • ABP Framework version: v4.4.4

  • UI type: MVC

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace: * [15:20:59 ERR] ABP-LIC-0020 - License code not found! Ensure that your appsettings.json has "AbpLicenseCode" key with your license code. [15:20:59 ERR] ABP-LIC-0008 - License check failed for 'Volo.Abp.Identity.Pro.HttpApi-v4.4.4.0'.

      For more information, contact to license@abp.io.
      [15:20:59 INF] Application is shutting down...
    

    *** Steps to reproduce the issue**:"

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

7 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Which project has this error?

    Steps to reproduce the issue

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    easonyang created
    1、download module template application
     2、 dotnet run “identityServer" get exception 
     3、see appsetting.json but no AbpLicenseCode key 
     4、 copy AbpLicenseCode from other project but get exception
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    easonyang created

    Please give some suggestion.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi @easonyang,is there AbpLicenseCode key in your appsettings.secrets.json file?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    easonyang created

    Hi @EngincanV,

    When I added the key into appsettings.secrets.json, it works now.

    Thanks very much for your reply and support.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    You're welcome :)

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    alper created
    Support Team Director

    an update => https://support.abp.io/QA/Questions/3302#answer-ff39ae34-8f50-a8ca-9293-3a04da7a2cc0

    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.