Open Closed

Tenant seperated database are not created #3289


0
[email protected] created
  • ABP Framework version: v5.3.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi Support ..

When I create a new tenant with seperated database are not created. Just gave me this message : database migration has been queued and will be applied soon .

When i do login with new tenant after one a hour it gives me this error

.

can I have a solution for this problem please .


5 Answer(s)
  • 0
    maliming created
    Support Team

    hi

    You can debug the YourProjectNameTenantDatabaseMigrationHandler service, and make sure it will be called when a tenant is created.

  • 0
    [email protected] created

    TenantDatabaseMigrationHandler

    Ok when a tenant is created it had called and gave me exception 'instance failure' error while connection string is correct

  • 0
    [email protected] created

    TenantDatabaseMigrationHandler

    Ok when a tenant is created it had called and gave me exception 'instance failure' error while connection string is correct

    I Changed conection string from Server=DESKTOP-4QC3ADQ\SQLEXPRESS;Database=osamaTenant;Trusted_Connection=True to Server=.\SQLEXPRESS;Database=osamaTenant;Trusted_Connection=True Now it is working very well thanks

  • 0
    [email protected] created

    but I want to ask you .. I discovered some bugs related to abp framework.. where i can share them with you ??

  • 0
    maliming created
    Support Team

    hi

    You can feedback it on https://github.com/abpframework/abp/issues/new