其他分享
首页 > 其他分享> > AbpVNext Tenant not found

AbpVNext Tenant not found

作者:互联网

2021-05-14 16:30:16.227 +08:00 [ERR] An unhandled exception has occurred while executing the request.
Volo.Abp.BusinessException: Tenant not found!
at Volo.Abp.MultiTenancy.TenantConfigurationProvider.GetAsync(Boolean saveResolveResult)
at Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
--- End of stack trace from previous location ---

 

解决方法: 检查Host层是否已引用Volo.Abp.TenantManagement.EntityFrameworkCore

标签:__,---,AbpVNext,AspNetCore,Abp,found,HttpContext,Volo,Tenant
来源: https://www.cnblogs.com/nickyX/p/14769132.html