Activities of "maliming"

hi

https://github.com/maliming

hi

The error logs of the An error occurred using the connection to database are caused by TaskCanceledException: A task was canceled in the Index page.

OK I commented out the // Application = await OpenIdApplicationRepository.GetListAsync(); line, ?I am still getting the : [ERR] An error occurred using the connection to database 'ESv2-testing' on server 'tcp:hathor-hk.database.windows.net,1433'. error intermittently.

Can you share these logs?

Thanks

You can share a template project similar to yours, and I will add code to replace the UserManager and IdentitySessionDynamicClaimsPrincipalContributor then share the code with you.

Writing code remotely can be difficult and slow.

hi

Can you share a simple project, I can download and check the code.

https://wetransfer.com/ liming.ma@volosoft.com

This must be an issue with the running environment. Are there any logs in the database when errors occur?

ok, You can remove the built-in contributors.

And replace the IdentityUserManager as well.

services.TryAddScoped<YourIdentityUserManager>();
services.TryAddScoped(typeof(UserManager<IdentityUser>), provider => provider.GetService(typeof(YourIdentityUserManager)))
services.TryAddScoped(typeof(IdentityUserManager), provider => provider.GetService(typeof(YourIdentityUserManager)))

hi

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
    var app = context.GetApplicationBuilder();
    var env = context.GetEnvironment();

    var options = context.ServiceProvider.GetRequiredService<IOptions<AbpClaimsPrincipalFactoryOptions>>();

hi

Can you try to inject the IOptions<AbpClaimsPrincipalFactoryOptions> to check the values?

Thanks.

We will add our IdentitySessionDynamicClaimsPrincipalContributor if your module depends the AbpIdentityProDomainModule

typeof(YourContributor)

Showing 5201 to 5210 of 12924 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on November 02, 2026, 06:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.