Open Closed

does not implement interface member 'IIdentityDbContext.UserDelegations' error #5045


User avatar
0
novelty created
  • ABP Framework version: v7.2.1
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

we updated our project from 6.0.0 to 7.2.1

It gives "'NovFlowDbContext' does not implement interface member 'IIdentityDbContext.UserDelegations'    NovFlow.EntityFrameworkCore" error

can you help for this ?

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

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

    hi

    Add public DbSet<IdentityUserDelegation> UserDelegations { get; } to your DbContext and add new migrations.

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

    Hi again,

    I am getting an error while migrating.

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

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

    hi

    Run the dotnet build command in your ef core folder to see the details.

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

    Build succeeded. 0 Warning(s) 0 Error(s)

    But add-migration gives same error. "Build failed"

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

    ok, Can you try to build your solution via dotnet build?

    And you can use dotnet ef add migrations Upgradeed_to_7_2

    https://learn.microsoft.com/en-us/ef/core/cli/dotnet#dotnet-ef-migrations-add

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

    Hi,

    It gives AbpRemoteCallException: Internal Server Error

    AppService

    BlazorApp

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

    Why might we get such an error?

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

    hi

    Please resolve the 500 error first.

    HTTP 500.30

    https://learn.microsoft.com/en-us/aspnet/core/test/troubleshoot-azure-iis?WT.mc_id=DT-MVP-5003202&view=aspnetcore-7.0#50030-in-process-startup-failure

    https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/logging-and-diagnostics?view=aspnetcore-7.0

    https://blog.elmah.io/http-error-500-30-asp-net-core-app-failed-to-start-help/

    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 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.