Activities of "alirizaadiyahsi"

I added it to the AuthServer and it looks like it is fixed. Today there is no error logs.

It looks like the error is still occurring. I added that code to the IdentityService microservice, but I'm still getting the same error. It's rare, but it still happens.

hi alirizaadiyahsi

You can test this:

https://abp.io/support/questions/8068/Suspicious-updates-on-OpenIddictApplication-when-token-endpoint-is-called-with-clientcredentials-granttype#answer-3a158dd3-918a-fd76-1e37-5cfe204100e5

I am checking, I will inform you.

@maliming, not it is clear. As you said problem is MyTypeActivatorCache . Now I removed it and I am creating controller every time. Here is the latest controller activator:

public class DaisyControllerActivator : IControllerActivator
{
    private readonly ServiceBasedControllerActivator _serviceBasedControllerActivator;

    public DaisyControllerActivator(ServiceBasedControllerActivator serviceBasedControllerActivator)
    {
        _serviceBasedControllerActivator = serviceBasedControllerActivator;
    }

    public object Create(ControllerContext context)
    {
        try
        {
            return _serviceBasedControllerActivator.Create(context);
        }
        catch (Exception ex)
        {
            // Create controller if not found.
            return ActivatorUtilities.CreateInstance(context.HttpContext.RequestServices, context.ActionDescriptor.ControllerTypeInfo.AsType());
        }
    }

    public void Release(ControllerContext context, object controller)
    {
        if (context == null)
        {
            throw new ArgumentNullException(nameof(context));
        }
        
        if (controller == null)
        {
            throw new ArgumentNullException(nameof(controller));
        }
        
        _serviceBasedControllerActivator.Release(context, controller);
    }
}

Thanks a lot for your patient/help.

Actually I shared all the code I have in the question.

Okay it is working now. Could give more detailed explanation about this?

Also, what is the best practice, should I always use IRootServiceProvider instead of IServiceProvider?

Hi @liangshiwei, this is the good point. This fixes my issue.

Thanks a lot.

Hi @maliming another silly mistake :) I did not check after Rider created auto-generated code.

Thanks.

Hi @maliming, I removed blobStoring from project. We will no longer use this.

Thanks for your helping and your time.

Hi @maliming I can't understand what you mean. I have no connection issues, actually. Each microservice can connect to its own DB via repos without issue. The problem is blobProvider is bypassing fileManagerConnectionString by administration-service. Repositories that are in blobProvider is connecting the administration service DB.

I think I should configure blobStoringProvider to connect file-manager-service DB, but I can't find any solution about this.

BTW, here is my connections:

Showing 1 to 10 of 13 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.1.0-preview. Updated on November 11, 2025, 06:29
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.