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**:"


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

    hi

    Which project has this error?

    Steps to reproduce the issue

  • 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
    
  • User Avatar
    0
    easonyang created

    Please give some suggestion.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

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

  • 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.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    You're welcome :)

  • User Avatar
    0
    alper created
    Support Team Director

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

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11