hi
The project you shared is not a complete solution. Can you create a new template project and reproduce it?
Can you share the project? liming.ma@volosoft.com
hi
Please try to remove ClaimTypes
and IdentityLinkUser
from FlamingaTenantDbContext
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L160
https://github.com/abpframework/abp/blob/dev/modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/IdentityDbContextModelBuilderExtensions.cs#L254
Can you share a project to reproduce the problem?
liming.ma@volosoft.com
This generated an error page indicating the site can't be reached. What else am I missing? I get the error that a connection was made but was forcibly closed by the remote host.
Can you share the error stack? Thanks
hi
That is to say, there is no error in using IAbpDistributedLock
manually, but there is an error in the background worker.
it's weird
hi
Can you try that?
var registerDto = new RegisterDto
{
AppName = "MVC",
EmailAddress = Input.EmailAddress,
Password = Input.Password,
UserName = Input.UserName,
ReturnUrl = ReturnUrl,
ReturnUrlHash = ReturnUrlHash,
CaptchaResponse = captchaResponse
}
registerDto.SetProperty("EmployeeNo", Input.EmployeeNo).SetProperty("CivilId", Input.CivilId);
var userDto = await AccountAppService.RegisterAsync(registerDto);
hi
Are you a tiered project or a monolithic project?
AppService should not be called in scenarios such as background jobs. You can consider calling domain services.