Open Closed

Just tried to intall and run 4.2.0 with Public Site An unhandled exception occurred while processing the request. BusinessException: Tenant not found! #856


User avatar
0
learnabp created
  • ABP Framework version: v4.2.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Trying to run the Host project after running DbMigrator sucessfully and i get the following error

BusinessException: Tenant not found!
Volo.Abp.MultiTenancy.TenantConfigurationProvider.GetAsync(bool saveResolveResult)

Stack Query Cookies Headers Routing
BusinessException: Tenant not found!
Volo.Abp.MultiTenancy.TenantConfigurationProvider.GetAsync(bool saveResolveResult)
Volo.Abp.Account.Public.Web.ExternalProviders.AccountExternalProviderOptionsManager<TOptions>.OverrideOptionsAsync(string name, TOptions options)
Volo.Abp.Account.Public.Web.ExternalProviders.AbpAccountAuthenticationRequestHandler<TOptions, THandler>.InitializeAsync(AuthenticationScheme scheme, HttpContext context)
Microsoft.AspNetCore.Authentication.AuthenticationHandlerProvider.GetHandlerAsync(HttpContext context, string authenticationScheme)
IdentityServer4.Hosting.FederatedSignOut.FederatedSignoutAuthenticationHandlerProvider.GetHandlerAsync(HttpContext context, string authenticationScheme)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext()
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Show raw exception details```

2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @vnetonline

    Can you try to clear the browser cookies?

  • User Avatar
    0
    learnabp created

    Yes thats worked i had to clearn Browser Cache "All time" in advanced tab of chrome

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35