Hi there,
Recently I've change Db from MsSQL to MySQL. I followed the instructions for integrating to mysql databse; such as:
When I Update-Database, database is creating successfully but without data inside. I tried to debug with Debugger.Launch() but SeedHelper.SeedHostDb(IIocResolver iocResolver) method isn't being called.
Then I switched back to MsSQL version and got the same problem.
I'de be glad if you help with this problem, thanks.
product version : 9.3.0 product type: angular product framework type: .net core
Yes I've changed the abp.js also.
I sent app's url to [email protected]
Hi,
I changed the TenantResolveKey and replace all Abp.TenantId with Abp-TenantId as you suggested, but no success. Here are the error logs for the error.
Mvc.ExceptionHandling.AbpExceptionFilter - Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 2 System.Exception: Current tenant is different than given tenant. AbpSession.TenantId: , given tenantId: 2 at Fiorent.Authorization.Impersonation.ImpersonationManager.CheckCurrentTenant(Nullable`1 tenantId) in /var/www/fiorent-app/aspnet-core/src/Fiorent.Core/Authorization/Impersonation/ImpersonationManager.cs:line 115 at Fiorent.Authorization.Impersonation.ImpersonationManager.GetImpersonatedUserAndIdentity(String impersonationToken) in /var/www/fiorent-app/aspnet-core/src/Fiorent.Core/Authorization/Impersonation/ImpersonationManager.cs:line 45 at Fiorent.Web.Controllers.TokenAuthController.ImpersonatedAuthenticate(String impersonationToken) in /var/www/fiorent-app/aspnet-core/src/Fiorent.Web.Core/Controllers/TokenAuthController.cs:line 347 at lambda_method(Closure , Object )
Hi there,
We have a tenant login problem on production server. In login page when I try to switch tenant and enter a name, page is refreshing with no errors and tenant is not chosen. Also in admin page, in customers section, when I click "Login as this tenant", page refreshes and gives javascript alert "InternalServerError" on /api/TokenAuth/ImpersonatedAuthenticate?impersonationToken=2d09bbf4-09d1-45e3-bda5-4292ee677dc7&d=1618502794115. There is no problem in development - local environment so I cannot debug and solve the error, but when we deploy the project on server, which is ubuntu 18.04, we're encountering this problem.
product version : 9.3.0
product type: angular
product framework type: .net core