Open Closed

Upgrading existing project from ABP 5.0.1 Community to ABP 7.4.5 Commercial #8242


User avatar
0
tahmad created
  • ABP Framework version: v7.4.5

  • UI Type: Angular

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

  • Exception message and full stack trace:

  • Steps to reproduce the issue: Upgrading existing Project From ABP 5.0.1 Community to ABP 7.4.5 Commercial

Hi There,

I am currently upgrading an existing project from ABP 5.0.1 Community to ABP 7.4.5 Commercial. Initially, I attempted to update to ABP 8.3.2, but faced several issues. As a result, I decided to proceed with ABP 7.4.5 for a more stable version.

The backend project has been successfully set up using ABP 7.4.5 and .NET Core 7. However, I am facing issues with setting up the frontend Angular project due to versioning conflicts.

I attempted to use ABP Studio to check for the appropriate packages, but it only provides the option to create a project with ABP 8.3.2 (the latest version). I need assistance to properly configure my existing Angular frontend project to work with ABP 7.4.5, as it is crucial to align with the backend setup.

Given the urgency, I have only two days left in my sprint to complete this task. Your prompt assistance would be greatly appreciated.


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

    Oh, as I see, you didn't use the account manage page of the account pro module; you have your own custom page.

    The component name is AuthenticatorAppComponent, you can try to use it.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    but I couldn't find this page on the source code

    it's a part of account pro, not the template

    you can download it if your license includes source code.

  • User Avatar
    0
    tahmad created

    I have a Team license. I think on Team License there is no access of source code. so What I can do in this case?

  • User Avatar
    0
    tahmad created

    I'm using a Team license so can I get a source a code? I think source code isn't available for team license

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    hi

    You can check this https://abp.io/qa/questions/8242/3a163c3f-da3c-3082-dd17-d659406974a1

  • User Avatar
    0
    tahmad created

    I couldn't find in my project.

  • User Avatar
    0
    tahmad created

    can you let me know the name of angular package?

    I believe Volo.Account.Pro is a backend package of .NET not angular package.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

    I’m not mean the source code, it is a part of account module, since you are the team license, you can’t get the source code.

    But you can use it as NPM package reference. Just import the component and use it.

    The NPM name is @volo/abp.ng.account

  • User Avatar
    0
    tahmad created

    I already have this package and installed

    can you let me know how to use that authenticator component? because I don't have the access to it. I need a documentation if you have about authenticator component

  • User Avatar
    0
    tahmad created

    Which module I need to import to use it? as I already have the package installed!

  • User Avatar
    0
    tahmad created

    just a gentle reminder, waiting for response, thank you

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I checked again, and the AuthenticatorAppComponent is not a declaration component, so you can't use it.

    what's your email , i can share the component code with you

  • User Avatar
    0
    tahmad created

    Sure, Thank you. My email is: ttoseeff@gmail.com also is there any documentation to use this component or I can get help from the component code only?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    no such document,

    I suggest you use the account module's page instead of your own. you can customize pages. This way, you can get the benefits of ABP; we will add new features and bug fixes to the module in each version.

  • User Avatar
    0
    tahmad created

    okay I didn't get the component code yet on my email account.

    and can you clarify how I can use the account module's page?

    you can see the url of my current page

    What I need to do in my existing project to use the account module's page.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You can check your spam folder.

    What I need to do in my existing project to use the account module's page.

    I don't know about your project details, so I can't give an answer; you can create a new project to see how it works.

  • User Avatar
    0
    tahmad created

    I tried by creating a new project of ABP but on that project I couldn't find the default pages for these settings so can you let me know the name of files that is rendering account module's page. if in the new project I cannot access the files then I cannot copy in to my existing project.

  • User Avatar
    0
    tahmad created

    received your file, I will try to implement authenticator by using the file code that you shared, thanks.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    okay, good luck

  • User Avatar
    0
    tahmad created

    Hi,

    I was using the Account Service to reset password but after upgrading the version from 5.0.1 to 7.4.5 I'm facing this issue

    2024-11-14 17:33:23.360 +05:00 [ERR] An exception was thrown while activating Volo.Abp.Account.AccountController -> Volo.Abp.Account.AccountAppService -> Volo.Abp.BlobStoring.BlobContainer1[[Volo.Abp.Account.AccountProfilePictureContainer, Volo.Abp.Account.Pro.Public.Application, Version=7.4.5.0, Culture=neutral, PublicKeyToken=null]]. Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.Account.AccountController -> Volo.Abp.Account.AccountAppService -> Volo.Abp.BlobStoring.BlobContainer1[[Volo.Abp.Account.AccountProfilePictureContainer, Volo.Abp.Account.Pro.Public.Application, Version=7.4.5.0, Culture=neutral, PublicKeyToken=null]]. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Volo.Abp.BlobStoring.IBlobContainerFactory)' on type 'BlobContainer`1'. ---> Volo.Abp.AbpException: No BLOB Storage provider was registered! At least one provider must be registered to be able to use the BLOB Storing System.

    Here is my account service code

    account service is abp class

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Please configure at least one Blob provider

    https://abp.io/docs/latest/framework/infrastructure/blob-storing

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