hi
What is your Azure AD B2C code?
hi
Please run the abp install-libs
command in your project folder.
hi
7.3
hi
liming.ma@volosoft.com
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)
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