Activities of "shobhit"

Question
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Team, I have moved 1 table from tenant unaware to tenant aware by adding "IMultiTenant" interface in domain class. i am facing 2 challenges: 1- tenantid in db is setting as null 2- as i have configured seperate db for tenant but data is getting saved in host db only.

please help what i am missing

public class Disease : FullAuditedAggregateRoot<Guid>, IMultiTenant { public virtual Guid? TenantId { get; set; }

    [NotNull]
    public virtual string Code { get; set; }

    [NotNull]
    public virtual string Name { get; set; }

}

No Worries and Thanks for all help. I am able to setup and run the tenant in new DB

When creating new tenant we don't provide connection string. After tenant creation, there is provision to provide new connection string.

ok. Thanks. Let me try

Hello liangshiwei, Thanks. what should be next step?

Please note i am using 4.2.2

  1. create seperate db for tenant
  2. run the db migrator project have default connection string pointing to tenant db
  3. Login to angular application as host admin and create new tenant and set the new db connection string
  4. Logout as host and select new tenant and try to login a. Cannot login as admin user created b. Cannot login as host admin default credentials
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  • I have to create physically seperate db for tenant. what are the steps.
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:C:\Program Files\dotnet\sdk\5.0.408\NuGet.targets(131,5): error : Unable to load the service index for source https://nuget.abp.io/xxxx/v3/index.json. [C:\src\src\myApp.HttpApi.Host\myApp.HttpApi.Host.csproj]
  • Steps to reproduce the issue:" while building the container getting above error

Thanks berkansasmaz for great help.

Solution is working as expected.

Showing 41 to 50 of 297 entries
Made with ❤️ on ABP v9.1.0-rc.1. Updated on January 17, 2025, 14:13