Open Closed

Production Issues - Urgent. Need Resolution #3869


User avatar
0
abpdeveloper@dbizsolution.com created
  • ABP Framework version: v4.4.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity Server Separated ( Application Template )
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. Need to remove the Menus a) My Account b) Linked Account c) Security Logs

  1. Forgot password - throws 500 internal error when clicked to send mail.

  1. when launching login or after logout from the application getting this below error

4 ) For Menu's even though it it localised in the en.json, the localised value is not showing up in the Menu


14 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi, can you share logs for 500 and 403 errors?

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Hi Sure, will share log in next 5 hrs.

    Can I have update on the other issues reported in this issue , there are total 5 issues reported.

  • User Avatar
    0
    fatih.kilic created

    UserMenuService removeitem() allows you to remove items from the menu that you don't want.

    import { APP_INITIALIZER } from '@angular/core';
    import { eUserMenuItems } from '@volosoft/abp.ng.theme.lepton-x';
    
    export const USERMENUPROVIDER = [
      { provide: APP_INITIALIZER, useFactory: userMenuRoutes, deps: [UserMenuService], multi: true },
    ];
    
    function userMenuRoutes(userMenu: UserMenuService) {
      return () => {
        userMenu.removeItem(eUserMenuItems.LinkedAccounts);
        userMenu.removeItem(eUserMenuItems.MyAccount);
        userMenu.removeItem(eUserMenuItems.SecurityLogs);
      };
    }
    
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    We can answer the rest of them after you provide specific logs about errors

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    https://drive.google.com/file/d/1i7M3cUaDeQIQr24ET8oUqV9k3iqEfIXN/view?usp=sharing

    Pls find the log file for the errors 403 & 500

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    Can you pls answer point 4, the menus are getting localised even though en.json has localise text and localisation service is called in angular

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    @volosoft/abp.ng.theme.lepton-x'

    I tried this by adding MenuProvider and add the provided code but it is showing UserMenuService is not available

    Also shows below issue as welll

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    https://drive.google.com/file/d/1i7M3cUaDeQIQr24ET8oUqV9k3iqEfIXN/view?usp=sharing

    Pls find the log file for the errors 403 & 500

    I can't see any error different than

    2022-10-19 12:55:40.638 +08:00 [ERR] GetHealthReport threw an exception when trying to get report from /health-status configured with name BIMS Health Status.
    System.InvalidOperationException: An invalid request URI was provided. The request URI must either be an absolute URI or BaseAddress must be set.
       at System.Net.Http.HttpClient.PrepareRequestMessage(HttpRequestMessage request)
       at System.Net.Http.HttpClient.CheckRequestBeforeSend(HttpRequestMessage request)
       at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
       at System.Net.Http.HttpClient.GetAsync(Uri requestUri)
       at HealthChecks.UI.Core.HostedService.HealthCheckReportCollector.GetHealthReport(HealthCheckConfiguration configuration)
    

    Did you remove or modify the default healthcheck configuration?

  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Can you try following configuration according to your situation?

    https://support.abp.io/QA/Questions/3327/#answer-4ca736a0-24be-8f01-e071-3a04dad4fb30

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    @volosoft/abp.ng.theme.lepton-x'

    I tried this by adding MenuProvider and add the provided code but it is showing UserMenuService is not available

    Also shows below issue as welll

    Can you help on this. I need to remove these menus

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    ALso point 4 need an anwser

  • User Avatar
    0
    fatih.kilic created

    For Issue 4, I checked menu on 4.4.2 project but I did not take any error like yours. Did you change anywhere ? It can be reason of this error.

  • User Avatar
    0
    abpdeveloper@dbizsolution.com created

    These are built in menus I have added new menus which are not getting localised and I have not changed anywhere,

  • User Avatar
    0
    alper created
    Support Team Director

    there are several questions in this issue, this is not allowed. you should create new issues for your each question

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10