Open Closed

ABP Suite not able to complete DB migration on new entity #6215


User avatar
0
olitrepanier created
  • ABP Framework version: v7.4.2
  • UI Type: Blazor WASM
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue: I generated a new Blazor project. Initially everything works well. I tried using ABP Suite to generate a new entity. Here are the specs I used: At the last step 13/13 Database migration, I get the error that I pasted. I can run the Blazor app and the API fine. When I navigate to the Entity's page, I get the following error: and I can't create a new entity.

I tried adding a different entity. Everything worked fine and it even fixed my first generated entity. Any idea what happened when I generated the first entity?


1 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, it seems the Blazor application could not connect to the Host project or the bundle was outdated and caused the problem. If you are ensured that the Host project was working then probably the bundle was correct and after the next generation, it got fixed.

    As I understand, your problem is fixed but if it still persists, please share the logs of the host application.

    Regards.

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