Activities of "rsg160"

Hi all, this time we are using a module template to which we want to apply some integration tests, create all the file structure as recommended in the documentation for testing an application service and we are getting the error you can see below, it seems to be happening in the SeedTestData method of the "TestBaseModule" but we can't figure out more than that, can you point us in the right direction?

SA.Modules.Reports.EntityFrameworkCore.Applications.Reports.EfCoreReportAppService_Tests.Should_Get_List_Of_Reports Source: ReportAppService_Tests.cs line 24 Duration: 1 ms

Message:  Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module SA.Modules.Reports.ReportsTestBaseModule, SA.Modules.Reports.TestBase, Version=0.1.0.0, Culture=neutral, PublicKeyToken=null: Value cannot be null. (Parameter 'source'). See the inner exception for details. ---- System.ArgumentNullException : Value cannot be null. (Parameter 'source')

Stack Trace:  ModuleManager.InitializeModules(ApplicationInitializationContext context) AbpApplicationBase.InitializeModules() AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider) AbpIntegratedTest1.ctor() ReportsTestBase1.ctor() ReportsApplicationTestBase1.ctor() ReportAppService_Tests1.ctor() line 18 EfCoreReportAppService_Tests.ctor() RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ----- Inner Stack Trace ----- ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument) Enumerable.Select[TSource,TResult](IEnumerable1 source, Func2 selector) PermissionDataSeeder.SeedAsync(String providerName, String providerKey, IEnumerable1 grantedPermissions, Nullable1 tenantId) PermissionDataSeedContributor.SeedAsync(DataSeedContext context) DataSeeder.SeedAsync(DataSeedContext context) AsyncInterceptorBase.ProceedAsynchronous(IInvocation invocation, IInvocationProceedInfo proceedInfo) CastleAbpMethodInvocationAdapter.ProceedAsync() UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) <<SeedTestData>b__0>d.MoveNext() line 61 --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) <>c__DisplayClass15_0.<Run>b__0(Task t) ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) AsyncContext.Run(Func1 action) AsyncHelper.RunSync(Func1 action) ReportsTestBaseModule.SeedTestData(ApplicationInitializationContext context) line 57 ReportsTestBaseModule.OnApplicationInitialization(ApplicationInitializationContext context) line 52 OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module) ModuleManager.InitializeModules(ApplicationInitializationContext context)

Question

"Hello, I have a solution that is working perfectly. I need to be able to do 'impersonation,' so I followed all the recommended configuration steps from the documentation, and it works well locally. However, when I deploy it to Azure and try to impersonate a user, I get the following message: 'The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.' I’ve been reviewing the configurations, and they seem correct. I should clarify that once deployed on Azure, the application uses an ADFS server for SSO authentication. I would appreciate it if you could guide me on which configurations I should check. Best regards."

  • ABP Framework version: v9.0.4
  • UI Type: MVC
  • 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:
  • The project was running properly on version 8.2.0. It was upgraded to version 9.0.4, and the following modifications were made:

1 -> <TargetFramework>net8.0</TargetFramework> updated to 9 2 -> The "abp update" command was run. 3 -> All NuGet packages were updated. 4 -> Replaced "UseStaticFiles" with "MapStaticAssets" The project compiles correctly and runs well locally. However, once deployed in the development branch, it breaks and shows messages in the browser console. The error occurs in all the web projects: (web/ portal & ids. Can you guys provide some advice on how to solve it?

  • ABP Framework version: v7.3.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • **Tiered (for MVC) **: yes
  • Exception message and full stack trace:
  • Unhandled exception. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Volo.Abp.EventBus.Distributed.IDistributedEventBus' from assembly 'Volo.Abp.EventBus, Version=7.3.2.0, Culture=neutral, PublicKeyToken=null'. at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType) at System.Reflection.RuntimeConstructorInfo.<get_Signature>g__LazyCreateSignature|21_0() at System.Reflection.RuntimeConstructorInfo.GetParametersNoCopy() at System.Reflection.RuntimeConstructorInfo.GetParameters() at Autofac.Core.Activators.Reflection.ConstructorBinder..ctor(ConstructorInfo constructorInfo) at Autofac.Core.Activators.Reflection.ReflectionActivator.ConfigurePipeline(IComponentRegistryServices componentRegistryServices, IResolvePipelineBuilder pipelineBuilder) at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices, IResolvePipelineBuilder pipelineBuilder) at Autofac.Core.Registration.ComponentRegistration.BuildResolvePipeline(IComponentRegistryServices registryServices) at Autofac.Core.Registration.ComponentRegistryBuilder.Build() at Autofac.ContainerBuilder.Build(ContainerBuildOptions options) at Volo.Abp.Autofac.AbpAutofacServiceProviderFactory.CreateServiceProvider(ContainerBuilder containerBuilder) at Microsoft.Extensions.DependencyInjection.ServiceCollectionCommonExtensions.BuildServiceProviderFromFactory[TContainerBuilder](IServiceCollection services, Action`1 builderAction) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) --- End of inner exception stack trace --- at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at Microsoft.Extensions.DependencyInjection.ServiceCollectionCommonExtensions.BuildServiceProviderFromFactory(IServiceCollection services) at Volo.Abp.AbpApplicationWithInternalServiceProvider.CreateServiceProvider() at Volo.Abp.AbpApplicationWithInternalServiceProvider.InitializeAsync() at SA.ABP.DbMigrator.DbMigratorHostedService.StartAsync(CancellationToken cancellationToken) in C:\ABP\SA.ABP\src\SA.ABP.DbMigrator\DbMigratorHostedService.cs:line 34 at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at SA.ABP.DbMigrator.Program.Main(String[] args) in C:\ABP\SA.ABP\src\SA.ABP.DbMigrator\Program.cs:line 28 at SA.ABP.DbMigrator.Program.
    (String[] args)
  • Steps to reproduce the issue:

hard to reproduce, the error shows up after the inclusion of a in house developed module

  • ABP Framework version: v5.3.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: "You are not Authenticated! You should sign in to perform this operation"
  • Steps to reproduce the issue:"

I was following the instructions in the tutorial (section: Authorization), Once Applied to the BookStoreAppService the policies, //GetPolicyName = BookStorePermissions.Books.Default; //GetListPolicyName = BookStorePermissions.Books.Default; //CreatePolicyName = BookStorePermissions.Books.Create; //UpdatePolicyName = BookStorePermissions.Books.Edit; //DeletePolicyName = BookStorePermissions.Books.Delete;

my web app is unable to consume the exposed API and shows the message in the picture. I wonder if I need to add some permission to the client app or something like that, should I be adding any configuration via UI? Important to highlight this is a tiered app

  • ABP Framework version: vX.X.X=
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

Hi there, I trying to integrate ABP Identity Server with an external Identity provider, The idea is to integrate the project with ADFS using saml2 as communication protocol, I want to use ComponentSpace.saml2 component to manage this communication, this component is compatible con Identity Server, and in an Identity Server Vanilla project instance, the component adds a "SAML" btn to the login page as can be seen in the image. I was wondering if Abp provides support for this type of integration and if so any documentation that I can use other than the one in the link which hasn't been helpful in this case. Thanks in advance

https://docs.abp.io/en/abp/3.1/Authentication/Social-External-Logins

Showing 1 to 6 of 6 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 15, 2025, 14:41