Open Closed

Having issue while initializing Volo.Abp.Identity.IdentityDataSeeder with Amazon.SecretManager. #592


User avatar
0
lalitChougule created

We are havng issue while initializing Volo.Abp.Identity.IdentityDataSeeder with Amazon.SecretManager.

  • ABP Framework version: v3.0.4

  • UI type: Angular / MVC

  • Tiered (MVC) or Identity Server Seperated (Angular): yes

  • Exception message and stack trace:
    An exception was thrown while activating Volo.Abp.Identity.IdentityDataSeedContributor -> Volo.Abp.Identity.IdentityDataSeeder -> Volo.Abp.Identity.EntityFrameworkCore.EfCoreIdentityRoleRepository -> Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1[[Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext, Volo.Abp.Identity.EntityFrameworkCore, Version=3.0.4.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.MultiTenancy.MultiTenantConnectionStringResolver.. See the inner exception for details. ---- Autofac.Core.DependencyResolutionException : An exception was thrown while activating Volo.Abp.Identity.IdentityDataSeedContributor -> Volo.Abp.Identity.IdentityDataSeeder -> Volo.Abp.Identity.EntityFrameworkCore.EfCoreIdentityRoleRepository -> Volo.Abp.Uow.EntityFrameworkCore.UnitOfWorkDbContextProvider1[[Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext, Volo.Abp.Identity.EntityFrameworkCore, Version=3.0.4.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.MultiTenancy.MultiTenantConnectionStringResolver.
    -------- Autofac.Core.DependencyResolutionException : An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptionsSnapshot`1[Volo.Abp.Data.AbpDbConnectionOptions], Volo.Abp.MultiTenancy.ICurrentTenant, System.IServiceProvider)' on type 'MultiTenantConnectionStringResolver'.
    ------------ System.AggregateException : One or more errors occurred. (1 validation error detected: Value null at 'secretId' failed to satisfy constraint: Member must not be null)
    ---------------- Amazon.SecretsManager.AmazonSecretsManagerException : 1 validation error detected: Value null at 'secretId' failed to satisfy constraint: Member must not be null
    -------------------- Amazon.Runtime.Internal.HttpErrorResponseException : Exception of type 'Amazon.Runtime.Internal.HttpErrorResponseException' was thrown.

  • Steps to reproduce the issue:


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

    Hi,

    Can you provide the steps to reproduce? thanks.

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 13, 2025, 04:08