Activities of "dev_marcelo"

I have tested on my localhost, and it works, but when i send it to staging to test, it does not work, I have restarted the services, clear the cache and it does not work

On my microservice, I had an structure for my permissions then I had changed but it is not getting reflected on UI, my administration service DB has the new structure, but i do not understand why the UI do not reflect it

My old permission definition is:

using Volo.Abp.Reflection;

namespace Elevos.Phoenix.ProductService.Permissions;

public struct ProductServicePermissions
{
    private const string CREATE = ".Create";
    private const string UPDATE = ".Update";
    private const string DELETE = ".Delete";
    private const string VERSION = ".Version";    

    public const string ROOT_GROUP_NAME = "ProductService";

    public struct DesktopApplication
    {
        public const string Default = ROOT_GROUP_NAME + ".DesktopApplication";
        public const string Create = Default + CREATE;
        public const string Update = Default + UPDATE;
        public const string Delete = Default + DELETE;
        public const string Version = Default + VERSION;
    }

    public struct Package
    {
        public const string Default = ROOT_GROUP_NAME + ".Package";
        public const string Create = Default + CREATE;
        public const string Update = Default + UPDATE;
        public const string Delete = Default + DELETE;
    }

    public static string[] GetAll()
    {
        return ReflectionHelper.GetPublicConstantsRecursively(typeof(ProductServicePermissions));
    }
}

My new Permission definition for this service is:

public struct ProductServicePermissions
{
    private const string CREATE = ".Create";
    private const string UPDATE = ".Update";
    private const string DELETE = ".Delete";

    public const string ROOT_GROUP_NAME = "ProductService";

    public struct DesktopApplication
    {
        public const string Default = ROOT_GROUP_NAME + ".DesktopApplication";
        public const string Create = Default + CREATE;
        public const string Update = Default + UPDATE;
        public const string Delete = Default + DELETE;

        public struct Package
        {
            public const string Default = DesktopApplication.Default + ".Package";
            public const string Create = Default + CREATE;
            public const string Update = Default + UPDATE;
            public const string Delete = Default + DELETE;
            public const string Download = Default + ".Download";
            public const string Upload = Default + ".Upload";
        }        
    }
    public struct Search
    {
        public const string Default = ROOT_GROUP_NAME + ".Search";

        public struct DesktopApplication
        {
            public const string Default = Search.Default + ".DesktopApplication";
        }
    }

    public static string[] GetAll()
    {
        return ReflectionHelper.GetPublicConstantsRecursively(typeof(ProductServicePermissions));
    }
}

sure, i am going to need some time to prepare a test project

  • ABP Framework version: 8.1.4
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

I had upgraded from 8.1.4 to 8.2.3 and 9.0.0

on Abp 8.1.4 the performance after saving a long and deep json like 1 Agregate root with 10 deep child level, it was saving on less than 5s, after upgrade to 8.2.3 or 9.0.0 it was taking over 1min, I am not sure all the changes you did but i had to revert and downgrade back to 8.1.4 to stabalize my solution, are you aware about this issue?

I saw a track strategy entity change on your PRs, not sure, if it was making this problem

the problem was, angular had not been updated to 18.1.0, I think abp should include this notes on migration notes, notes like, dependicies for angular ui: - angular version required 18.1.0

dependicies for EntityFrameworkCore - Microsoft.EntityFrameworkCore.Tools version 8.0.0

  • ABP Framework version: 8.3.0
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

after run "abp update" just angular client is throwing an error, could you help me?

Application bundle generation failed. [6.090 seconds] X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'ModelSignal'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:14:37:
  14 │     visible: import("@angular/core").ModelSignal<boolean>;
     ╵                                      ~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'OutputEmitterRef'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:23:43:
  23 │     readonly init: import("@angular/core").OutputEmitterRef<void>;
     ╵                                            ~~~~~~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'OutputEmitterRef'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:24:45:
  24 │     readonly appear: import("@angular/core").OutputEmitterRef<void>;
     ╵                                              ~~~~~~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'OutputEmitterRef'. [plugin angular-compiler]

node_modules/@abp/ng.theme.shared/lib/components/modal/modal.component.d.ts:25:48:
  25 │ ...eadonly disappear: import("@angular/core").OutputEmitterRef<void>;
     ╵                                               ~~~~~~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'ModelSignal'. [plugin angular-compiler]

node_modules/@volo/abp.ng.account/public/components/account-sessions/account-session-detail-modal/account-session-detail.component.d.ts:9:44:
  9 │     isModalVisible: import("@angular/core").ModelSignal<boolean>;
    ╵                                             ~~~~~~~~~~~

X [ERROR] TS2694: Namespace '"Phoenix/apps/angular/node_modules/@angular/core/index"' has no exported member 'ModelSignal'. [plugin angular-compiler]

node_modules/@volo/abp.ng.identity/lib/components/users/user-sessions-modal/user-sessions.component.d.ts:15:44:
  15 │     isModalVisible: import("@angular/core").ModelSignal<boolean>;
     ╵                                             ~~~~~~~~~~~
Answer

Tested on a different instance of Database, same behavior

Microsoft SQL Server 2019 (RTM-CU25-GDR) (KB5036335) - 15.0.4360.2 (X64) Mar 19 2024 00:23:01 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Windows Server 2019 Datacenter 10.0 <X64> (Build 17763: ) (Hypervisor)

  • ABP Framework version: 8.1.4
  • 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:

2024-06-18 09:15:27.857 -04:00 [INF] Starting Elevos.Phoenix.NemsisService.HttpApi.Host. 2024-06-18 09:15:38.184 -04:00 [INF] Loaded ABP modules: 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.NemsisService.NemsisServiceHttpApiHostModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.Shared.Hosting.Microservices.PhoenixSharedHostingMicroservicesModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.Shared.Hosting.AspNetCore.PhoenixSharedHostingAspNetCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.Shared.Hosting.PhoenixSharedHostingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Autofac.AbpAutofacModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Castle.AbpCastleCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Data.AbpDataModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.ObjectExtending.AbpObjectExtendingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Localization.AbpLocalizationAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Validation.AbpValidationAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Uow.AbpUnitOfWorkModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.EventBus.Abstractions.AbpEventBusAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AspNetCore.Serilog.AbpAspNetCoreSerilogModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Security.AbpSecurityModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Settings.AbpSettingsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.MultiTenancy.AbpMultiTenancyAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.VirtualFileSystem.AbpVirtualFileSystemModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Localization.AbpLocalizationModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Threading.AbpThreadingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AspNetCore.AbpAspNetCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Auditing.AbpAuditingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Json.AbpJsonModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Json.SystemTextJson.AbpJsonSystemTextJsonModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Json.AbpJsonAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Timing.AbpTimingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Auditing.AbpAuditingContractsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Http.AbpHttpModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Http.AbpHttpAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Minify.AbpMinifyModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Authorization.AbpAuthorizationAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Validation.AbpValidationModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.ExceptionHandling.AbpExceptionHandlingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Swashbuckle.AbpSwashbuckleModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.ApiVersioning.AbpApiVersioningAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcContractsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Application.AbpDddApplicationContractsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.UI.Navigation.AbpUiNavigationModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.UI.AbpUiModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.GlobalFeatures.AbpGlobalFeaturesModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Application.AbpDddApplicationModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Domain.AbpDddDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.EventBus.AbpEventBusModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Guids.AbpGuidsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.BackgroundWorkers.AbpBackgroundWorkersModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.ObjectMapping.AbpObjectMappingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Specifications.AbpSpecificationsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Caching.AbpCachingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Serialization.AbpSerializationModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Domain.AbpDddDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Features.AbpFeaturesModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.BackgroundJobs.RabbitMQ.AbpBackgroundJobsRabbitMqModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.BackgroundJobs.AbpBackgroundJobsAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.RabbitMQ.AbpRabbitMqModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AspNetCore.Authentication.JwtBearer.AbpAspNetCoreAuthenticationJwtBearerModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AspNetCore.MultiTenancy.AbpAspNetCoreMultiTenancyModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.DistributedLocking.AbpDistributedLockingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.EventBus.RabbitMq.AbpEventBusRabbitMqModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Caching.StackExchangeRedis.AbpCachingStackExchangeRedisModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.SaasService.EntityFrameworkCore.SaasServiceEntityFrameworkCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.SaasService.SaasServiceDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.SaasService.SaasServiceDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Saas.SaasDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.FeatureManagement.AbpFeatureManagementDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Payment.AbpPaymentDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Saas.SaasDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AutoMapper.AbpAutoMapperModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.FeatureManagement.AbpFeatureManagementDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Saas.EntityFrameworkCore.SaasEntityFrameworkCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.FeatureManagement.EntityFrameworkCore.AbpFeatureManagementEntityFrameworkCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.EntityFrameworkCore.SqlServer.AbpEntityFrameworkCoreSqlServerModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.AdministrationService.EntityFrameworkCore.AdministrationServiceEntityFrameworkCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.AdministrationService.AdministrationServiceDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Elevos.Phoenix.AdministrationService.AdministrationServiceDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.LanguageManagement.LanguageManagementDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.TextTemplateManagement.TextTemplateManagementDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Gdpr.AbpGdprDomainSharedModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.SettingManagement.AbpSettingManagementDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.AuditLogging.AbpAuditLoggingDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.LanguageManagement.LanguageManagementDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.TextTemplateManagement.TextTemplateManagementDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.TextTemplating.AbpTextTemplatingCoreModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Emailing.AbpEmailingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.TextTemplating.AbpTextTemplatingModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.TextTemplating.Scriban.AbpTextTemplatingScribanModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Gdpr.AbpGdprDomainModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.Gdpr.AbpGdprAbstractionsModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.PermissionManagement.OpenIddict.AbpPermissionManagementDomainOpenIddictModule 2024-06-18 09:15:38.185 -04:00 [INF] - Volo.Abp.OpenIddict.AbpOpenIddictDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.PermissionManagement.Identity.AbpPermissionManagementDomainIdentityModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Identity.AbpIdentityDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Users.AbpUsersDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Users.AbpUsersAbstractionModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.PermissionManagement.EntityFrameworkCore.AbpPermissionManagementEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.SettingManagement.EntityFrameworkCore.AbpSettingManagementEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.AuditLogging.EntityFrameworkCore.AbpAuditLoggingEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.BlobStoring.Database.EntityFrameworkCore.BlobStoringDatabaseEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.BlobStoring.Database.BlobStoringDatabaseDomainModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.BlobStoring.AbpBlobStoringModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.BlobStoring.Database.BlobStoringDatabaseDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.LanguageManagement.EntityFrameworkCore.LanguageManagementEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.TextTemplateManagement.EntityFrameworkCore.TextTemplateManagementEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Gdpr.AbpGdprEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.NemsisService.NemsisServiceApplicationModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.NemsisService.NemsisServiceDomainModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.NemsisService.NemsisServiceDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Commercial.SuiteTemplates.VoloAbpCommercialSuiteTemplatesModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.NemsisService.NemsisServiceApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.IdentityService.IdentityServiceApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Identity.AbpIdentityApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Identity.AbpIdentityProDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Ldap.AbpLdapAbstractionsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.PermissionManagement.AbpPermissionManagementApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.OpenIddict.AbpOpenIddictProApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.OpenIddict.AbpOpenIddictProDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Account.AbpAccountAdminApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Account.AbpAccountSharedApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.IdentityService.IdentityServiceDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.DispatchService.DispatchServiceApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.DispatchService.DispatchServiceDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.PatientService.PatientServiceApplicationContractsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.PatientService.PatientServiceDomainSharedModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.BackgroundJobs.AbpBackgroundJobsModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.IdentityService.IdentityServiceHttpApiClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.OpenIddict.AbpOpenIddictProHttpApiClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Http.Client.AbpHttpClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.RemoteServices.AbpRemoteServicesModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Identity.AbpIdentityHttpApiClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Account.AbpAccountAdminHttpApiClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.DispatchService.DispatchServiceHttpApiClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.PatientService.PatientServiceHttpApiClientModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.NemsisService.NemsisServiceHttpApiModule 2024-06-18 09:15:38.186 -04:00 [INF] - Elevos.Phoenix.NemsisService.EntityFrameworkCore.NemsisServiceEntityFrameworkCoreModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.Http.Client.IdentityModel.AbpHttpClientIdentityModelModule 2024-06-18 09:15:38.186 -04:00 [INF] - Volo.Abp.IdentityModel.AbpIdentityModelModule 2024-06-18 09:15:43.527 -04:00 [INF] Saving external localizations... 2024-06-18 09:17:50.281 -04:00 [INF] Starting Elevos.Phoenix.NemsisService.HttpApi.Host. 2024-06-18 09:18:00.450 -04:00 [INF] Loaded ABP modules: 2024-06-18 09:18:00.452 -04:00 [INF] - Volo.Abp.IdentityModel.AbpIdentityModelModule ... 2024-06-18 09:18:05.968 -04:00 [INF] Saving external localizations...

  • Steps to reproduce the issue: Init a microservice

the microservice does not init

Answer

SQL Server version:

Microsoft SQL Server 2022 (RTM) - 16.0.1000.6 (X64) Oct 8 2022 05:58:25 Copyright (C) 2022 Microsoft Corporation Developer Edition (64-bit) on Windows Server 2019 Datacenter 10.0 <X64> (Build 17763: ) (Hypervisor)

I would like to increase the time of process before it throws an exception,

I also tried this

Configure<AbpUnitOfWorkDefaultOptions>(options => { options.Timeout = int.MaxValue; });

Job is not an option, because it was working on prev version, also the flow is different to work with a job.

Question
  • ABP Framework version: 8.1.4
  • 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:
2024-06-16 09:02:37.272 -04:00 [ERR] An error occurred using a transaction.
2024-06-16 09:02:37.284 -04:00 [ERR] ---------- RemoteServiceErrorInfo ----------
{
  "code": null,
  "message": "A severe error occurred on the current command.  The results, if any, should be discarded.\r\nOperation cancelled by user.",
  "details": "SqlException: A severe error occurred on the current command.  The results, if any, should be discarded.\r\nOperation cancelled by user.\r\n",
  "data": {
    "HelpLink.ProdName": "Microsoft SQL Server",
    "HelpLink.ProdVer": "15.00.4360",
    "HelpLink.EvtSrc": "MSSQLServer",
    "HelpLink.EvtID": "0",
    "HelpLink.BaseHelpUrl": "https://go.microsoft.com/fwlink",
    "HelpLink.LinkId": "20476"
  },
  "validationErrors": null
}
2024-06-16 09:02:37.285 -04:00 [ERR] A severe error occurred on the current command.  The results, if any, should be discarded.
Operation cancelled by user.
Microsoft.Data.SqlClient.SqlException (0x80131904): A severe error occurred on the current command.  The results, if any, should be discarded.
Operation cancelled by user.
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.&lt;PopulateSplitIncludeCollectionAsync&gt;g__InitializeReaderAsync|26_0[TIncludingEntity,TIncludedEntity](RelationalQueryContext queryContext, RelationalCommandCache relationalCommandCache, IReadOnlyList`1 readerColumns, Boolean detailedErrorsEnabled, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateSplitIncludeCollectionAsync[TIncludingEntity,TIncludedEntity](Int32 collectionId, RelationalQueryContext queryContext, IExecutionStrategy executionStrategy, RelationalCommandCache relationalCommandCache, IReadOnlyList`1 readerColumns, Boolean detailedErrorsEnabled, SplitQueryResultCoordinator resultCoordinator, Func`3 childIdentifier, IReadOnlyList`1 identifierValueComparers, Func`5 innerShaper, Func`4 relatedDataLoaders, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.TaskAwaiter(Func`1[] taskFactories)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.PopulateSplitIncludeCollectionAsync[TIncludingEntity,TIncludedEntity](Int32 collectionId, RelationalQueryContext queryContext, IExecutionStrategy executionStrategy, RelationalCommandCache relationalCommandCache, IReadOnlyList`1 readerColumns, Boolean detailedErrorsEnabled, SplitQueryResultCoordinator resultCoordinator, Func`3 childIdentifier, IReadOnlyList`1 identifierValueComparers, Func`5 innerShaper, Func`4 relatedDataLoaders, INavigationBase inverseNavigation, Action`2 fixup, Boolean trackingQuery)
   at Microsoft.EntityFrameworkCore.Query.RelationalShapedQueryCompilingExpressionVisitor.ShaperProcessingExpressionVisitor.TaskAwaiter(Func`1[] taskFactories)
   at Microsoft.EntityFrameworkCore.Query.Internal.SplitQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Microsoft.EntityFrameworkCore.Query.ShapedQueryCompilingExpressionVisitor.SingleOrDefaultAsync[TSource](IAsyncEnumerable`1 asyncEnumerable, CancellationToken cancellationToken)
   at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository`3.FindAsync(TKey id, Boolean includeDetails, CancellationToken cancellationToken)
   at Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository`3.GetAsync(TKey id, Boolean includeDetails, CancellationToken cancellationToken)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Elevos.Phoenix.NemsisService.Services.Demographic.DemographicCrudAppService`6.UpdateAsync(TKey id, TUpdateInput input) in D:\Repositories\Elevos\Elevos.Phoenix\services\nemsis\src\Elevos.Phoenix.NemsisService.Application\Services\Demographic\DemographicCrudAppService.cs:line 59
   at Elevos.Phoenix.NemsisService.Services.Emergency.PatientCareReports.PatientCareReportAppService.UpdateAsync(Guid demographicReportId, Guid id, PatientCareReportDto input) in D:\Repositories\Elevos\Elevos.Phoenix\services\nemsis\src\Elevos.Phoenix.NemsisService.Application\Services\Emergency\PatientCareReports\PatientCareReportAppService.cs:line 199
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
   at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
   at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
   at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
   at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
   at lambda_method55676(Closure, Object)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
ClientConnectionId:acee6b4a-cc31-4eeb-9dc0-e23ca18e0c3d
2024-06-16 09:02:37.287 -04:00 [ERR] ---------- Exception Data ----------
HelpLink.ProdName = Microsoft SQL Server
HelpLink.ProdVer = 15.00.4360
HelpLink.EvtSrc = MSSQLServer
HelpLink.EvtID = 0
HelpLink.BaseHelpUrl = https://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
  • Steps to reproduce the issue: upgrade the system from 6.0.3 to 8.1.4

this error appears after the upgrade from 6.0.3 to 8.1.4, all the system is working as excepted but this,

all the 1st times when i send a post to save this object throw an exception the next times, it works correctly

this error is happening intermitent on the system when I am trying to save a big json throw a post, not sure if it is related or not to timeout, on my connectionstring I have the TrustServerCertificate=True;Connection Timeout=0

and on my EFCoreModule

b.MigrationsHistoryTable("__NemsisService_Migrations"); b.UseQuerySplittingBehavior(QuerySplittingBehavior.SplitQuery); b.CommandTimeout(int.MaxValue); b.MaxBatchSize(int.MaxValue);

Showing 1 to 10 of 74 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30