Open Closed

Unable to load permissions after download source code for Volo.Abp.PermissionManagement #8384


User avatar
0
jordanchen98 created

Check the docs before asking a question: https://abp.io/docs/latest Check the samples to see the basic tasks: https://abp.io/docs/latest/samples The exact solution to your question may have been answered before, and please first use the search on the homepage. Provide us with the following info: 🧐 Hint: If you are using the ABP Studio, you can see all the information about your solution from the configuration window, which opens when you right-click on the solution and click on the Solution Configuration button.

I have installed the module Volo.Abp.PermissionManagement along with a few others from using Abp Studio along with the source code. I have added the Remote Service in my HttpApi.Host project appsetting.json of the Permission Management Module. The project builds with no errors and I've managed to login to my Angular Frontend but when I want to access Administration > Identity Management > Roles > Permissions I get hit with the exception message above on loop.

"RemoteServices": {
  "Defaut": {
    "BaseUrl": "https://localhost:44318"
  },
  "AbpPermissionManagement": {
    "BaseUrl": "https://localhost:44318"
  },
  "AbpAccountAdmin": {
    "BaseUrl": "https://localhost:44318"
  },
  "AbpAccountPublic": {
    "BaseUrl": "https://localhost:44318"
  },
  "AbpIdentity": {
    "BaseUrl": "https://localhost:44318"
  },
  "OpenIddictPro": {
    "BaseUrl": "https://localhost:44318"
  }
}

Above is the RemoteServices I've created in the appsetting.json. Not sure if Default is needed as the project was working well without it and before I imported these modules.

Is there anything I am missing here? Thanks!


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

    Hi,

    could you please share the full logs

  • User Avatar
    0
    jordanchen98 created

    Hi,

    I'm not sure what other logs are there when because when I click on Permission this is what I get: and it keeps looping and looping until I stop the application.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I think there is a problem with your solution structure.

    could you please share a test project, I will check it out. shiwei.liang@volosoft.com

  • User Avatar
    0
    jordanchen98 created

    Hi,

    I have emailed you the link to a test project.

    Thanks

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You don't need this.

    You have misconfigured module dependencies, please delete the incorrect dependencies.

    For example

    KMSv4HttpApiModule depends on the AbpPermissionManagementHttpApiModule KMSv4EntityFrameworkCoreModule depends on the AbpPermissionManagementEntityFrameworkCoreModule

    Etc...

    KMSv4HttpApiHostModule no need depends on the permission module

  • User Avatar
    0
    jordanchen98 created

    Hi,

    I see, let me try to delete and import accordingly.

    Thanks!

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    : )

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09