Open Closed

Change password functionality not working #2218


User avatar
0
Naren created
  • ABP Framework version: 4.3.3
  • UI type: Blazor
  • DB provider: EF Core
  • Exception message and stack trace: Resource not found

Hi Team

Change password functionality not working with Sub Folder structure on server after deployment and below mentioned details could be the possibility . request send to : https://xyz.com/api/identity/my-profile/change-password request should send to : https://xyz.com/SubFolderName/api/identity/my-profile/change-password can you pls guide us how to achieve this.

Getting below error while click on change password button.

Thanks


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

    hi

    Can you try to change the BaseUrl of RemoteServices in Blazor\wwwroot\appsettings.json

  • User Avatar
    0
    Naren created

    hi

    Can you try to change the BaseUrl of RemoteServices in Blazor\wwwroot\appsettings.json

    yes already have baseurl with sub folder.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Can you share the content of appsettings.json?

  • User Avatar
    0
    Naren created

    Can you share the content of appsettings.json? details shared on liming.ma@volosoft.com.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please try to add a custom js to your API website https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification#configuring-an-existing-bundle

    abp.appPath = "/SubFolder/"
    
    Configure<AbpBundlingOptions>(options =>
    {
        options
            .ScriptBundles
            .Get(LeptonThemeBundles.Scripts.Global)
            .AddFiles("/Pages/common.js");
    });
    
  • User Avatar
    0
    Naren created

    hi

    Please try to add a custom js to your API website https://docs.abp.io/en/abp/latest/UI/AspNetCore/Bundling-Minification#configuring-an-existing-bundle

    abp.appPath = "/SubFolder/" 
    
    Configure<AbpBundlingOptions>(options => 
    { 
        options 
            .ScriptBundles 
            .Get(LeptonThemeBundles.Scripts.Global) 
            .AddFiles("/Pages/common.js"); 
    }); 
    

    Hi,

    where we need to add above changes. abp.appPath in abp.js correct and config changes ? and how do we change images path like logo ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    var abp = abp || {};
    abp.appPath = "/SubFolder/"
    
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11