Open Closed

Upgrade from abp 5 to 7.4 #6346


User avatar
0
Dina created
  • ABP Framework version: v7.4
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

Hi, We are upgrading an abp project from 5 to 7.4 We have done the abp update command and fixed about 2000 errors related to used packages. And now we have some syntax errors related to the identityServer module.

We want a documentation or steps in which we can fix the upgrading errors between these 2 versions directly.

Regards, Dina

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

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

    hi

    Migrating from IdentityServer to OpenIddict Step by Step Guide

    https://docs.abp.io/en/commercial/latest/migration-guides/openIddict-step-by-step

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

    Hi, After the application is built successfully, appeared an error while the run time

    Win32Exception: The certificate chain was issued by an authority that is not trusted.
    Unknown location
    
    SqlException: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)
    Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, bool breakConnection, Action<Action> wrapCloseInAction)
    
    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 share the full logs.

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

    We have fixed the error by modifying the db connectionstring.

    Now wehave an error "Invalid column name 'EntityVersion'." while running the migrator

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

    and adding new migration creates an empty one

    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

    You can delete existing migration files and recreate one.

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

    Hi,

    We were trapped with this issue,

    and when we disabled CMS it was gone. We think this issue is related to this version as mentioned here https://github.com/abpframework/abp/issues/17279 Please we need a solution for it without changing the version.

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

    Hi, did you override Pages/Public/CmsKit/Pages/Index.cshtml page in the previous version?

    If yes, you'll need to define @page attribute like this: https://github.com/abpframework/abp/blob/35527c1ece6fddcf76eb08eabb1c6bc067abb8d4/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml#L1

    But it's even changed again in v8.0 https://github.com/abpframework/abp/blob/rel-8.0/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml#L1

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

    Hi, At our solution we have an identity server project added, how can we convert it to OpenIdDict, not IdentityServer?

    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

    https://docs.abp.io/en/commercial/latest/migration-guides/openIddict-step-by-step

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

    Hi, For the CMS issue, I have overridden the public CMS kit index page but doesn't solve this issue. What should be done?

    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

    Can you share your project source code? liming.ma@volosoft.com

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

    Hi, did you override Pages/Public/CmsKit/Pages/Index.cshtml page in the previous version?

    If yes, you'll need to define @page attribute like this: https://github.com/abpframework/abp/blob/35527c1ece6fddcf76eb08eabb1c6bc067abb8d4/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml#L1

    But it's even changed again in v8.0 https://github.com/abpframework/abp/blob/rel-8.0/modules/cms-kit/src/Volo.CmsKit.Public.Web/Pages/Public/CmsKit/Pages/Index.cshtml#L1

    We have an issue with CMS module on our project when upgraded from abp 5 to abp 7.4. issue is related to the routing "Ambiguous Match Exception: The request matched multiple endpoints. Matches: /Public/CmsKit/Pages/Index /Index" I'm trying to override the index page to change its page attribute but the issue isn't fixed. I mention images for overriding the index page, plz check @enisn

    Waiting for your answer.

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

    It should be @page "/cmskit/page" on v7.4.x

    Can you open it without overriding the Index page?

    By the way can you share reproduction steps from scratch?

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

    It should be @page "/cmskit/page" on v7.4.x

    Can you open it without overriding the Index page?

    By the way can you share reproduction steps from scratch?

    Yes, I already do not need to override. We have a project without customizing any public CMS pages and we just upgraded the Abp version and found this issue.

    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

    Can you share a project? I will check it locally.

    liming.ma@volosoft.com

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

    Our main issue at CMS kit is routing, we are facing this issue

    "Ambiguous Match Exception: The request matched multiple endpoints. Matches: /Public/CmsKit/Pages/Index /Index"

    @enisn has fixed at version 8 as mentioned here https://github.com/abpframework/abp/pull/17642

    But now we are not using version 8, we use 7.4.2, so how can we fix this issue at the current version? What is the fix or workaround we can do?

    We need to fix this issue please.

    Thanks

    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

    Can you share a project? I will check it locally.

    liming.ma@volosoft.com

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

    It is difficult to share the whole project for security wise. What are the classes that you need to check?

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

    It is difficult to share the whole project for security wise. What are the classes that you need to check?

    You can create a new empty project and reproduce the problem in it, then you can send the project with reproduction steps to us

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