Search code examples
abp-framework

After run .DbMigrator first time, but can't start my application , it has exception "tenant not found"


When I direct download a template of abp NoTiered, the version is 3.1.2, then I run the .DbMigrator project, it run well, but then ,when i start .Web Application, It can't start with exception "tenant not found", then I check the "AbpTenants" Table in database, It is empty!!!


Solution

  • You need to clear your browser history (cookies) which stores any previous tenants. The cookie is attempting to set your selected tenant, which is not configured in your new application.