hi
Is your app run on IIS?
https://serverfault.com/a/933281
Yes, the entity has the ConcurrencyStamp , so there will be an AbpDbConcurrencyException.
see https://learn.microsoft.com/en-us/ef/core/saving/concurrency?tabs=data-annotations
hi
You can try to catch the exception and ignore or retry.
private async Task<bool> UpdateFCStatus(IList<long> encounterIds, long fcId, long fcModeId,int completedCount = 0, draftCount = 0, exemptedCount = 0)
{
try
{
using (var uow = UnitOfWorkManager.Begin(requiresNew: true, isTransactional: UnitOfWorkManager.Current?.Options.IsTransactional ?? false))
{
// your code
await uow.CompleteAsync();
}
}
catch (AbpDbConcurrencyException e)
{
///
}
}
"Default": "Server=(localdb)\MSSQLLocalDB;Database=PaymentManagement;Trusted_Connection=True;TrustServerCertificate=false",
But the logs show An error occurred using the connection to database 'AbpSolution2' on server '(LocalDb)\MSSQLLocalDB'.
hi
Can you share the HTTP request of api/abp/application-configuration?
Include full request header and response JSON.
Thanks.
hi
You can share the backend logs(logs.txt), and then I will check them.
Thanks.
hi
Can you check the /api/abp/application-configuration http request?
Share the request header and response info.
This endpoint returns the current user info. The request header should have the authorization header.(jwt token)
Thanks
hi
Can you create two implementation classes and controllers for these two interfaces?
The generate-proxy command only supports the standard abp code style.
In other words, it cannot recognize the situation of multiple interfaces and one implementation class.
Thanks.