Activities of "maliming"

: )

Instances cannot be resolved and nested lifetimes cannot be created from this LifetimeScope as it (or one of its parent scopes) has already been disposed.

The _serviceProvider in DaisyDatabaseProviderFactory is from the http request(HttpContext.RequestServices). It will be released when the request ends.

The error happened when the next request is coming.

MyTypeActivatorCache is not applicable to your case, you can try to create a controller instance every time(without cache)

hi

CompleteAsync will do nothing if there is a parent unit of work.

Can you share a minimal project so I can write the details reason?

hi

Please try to use IRootServiceProvider _serviceProvider; to repleace IServiceProvider _serviceProvider;

Be careful to use the root service provider since there is no way to release/dispose objects resolved from the root service provider. So, always create a new scope if you need to resolve any service.

If still not working, please share a minimal project to reproduce the problem. Thanks

liming.ma@volosoft.com

Done

Configure<WebEncoderOptions>(options =>
{
    options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.BasicLatin, UnicodeRanges.CjkUnifiedIdeographs);
});

hi

Steps to reproduce the issue:

What are the names of your role?

You can check them in the database.

a)

Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAudienceException: IDX10214: Audience validation failed. A Audiences: 'AccountService, IdentityService, AdministrationService, SaasService, ProductService, LibraryService'. Did not match: validationParameters.ValidAudience: 'FileUpload' or validationParameters.ValidAudiences: 'null'.

Please change the audience base on the error message.

b)

An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.AspNetCore.Components.WebAssembly.AbpAspNetCoreComponentsWebAssemblyModule, Volo.Abp.AspNetCore.Components.WebAssembly, Version=7.2.1.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. [ -6]: ---> System.InvalidOperationException: Could not find singleton service: Microsoft.AspNetCore.Components.WebAssembly.Hosting.WebAssemblyHostBuilder, Microsoft.AspNetCore.Components.WebAssembly, Version=7.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60 [

You need to call the AddApplicationAsync in your \blazor\src\DragonsHoard.Blazor\Program.cs:line 27

https://github.com/abpframework/abp/blob/d01eb66c79c930c0d2436623905079f60559fae3/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Microsoft/AspNetCore/Components/WebAssembly/Hosting/AbpWebAssemblyHostBuilderExtensions.cs#LL17C74-L17C93

https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Blazor/Program.cs#L12

c) https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice

d & e)

Could I have a link to this please?

See the API request on the browser console when you upload files etc.

no problem

Showing 6961 to 6970 of 11530 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 December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.