I found the problem and solved it. Usually I would update via Upgraade ABP Package in ABP Studio Menu. I just changed to another way: ABP CLI execute [abp update --version 9.1.0], and the project can run smoothly.
Thanks again for your help!
I have re-generated openiddict.pfx and made some adjustments according to the documentation, but the original problem still occurs. I would like to remind you that: a. It was able to run normally in v9.0.4; the problem occurred after upgrading to v9.1.0. b. The error event mentioned occurred during module Volo.Abp.OpenIddict.AbpOpenIddictDomainModule (Volo.Abp.OpenIddict.Domain, Version=9.0.4.0); but I searched the entire project code and could not find any content related to using Volo.Abp.OpenIddict.Domain !
ABP Version Update To 9.0.4 -> 9.1.0 and Dedug With IIS Express, the following message appears during debugging HTTP Error 500.30 - ASP.NET Core app failed to start
If you have any further needs, I will provide the complete project file for your reference. Thank you for your help!
The event log shows:
[Event ID: 1035]
Application '/LM/W3SVC/2/ROOT' with physical root 'C:\ABP Development Project\GiftCardIssuance\src\GiftCardIssuance.Blazor' has exited from Program.Main with exit code = '1'. First 30KB characters of captured stdout and stderr logs:
[15:12:10 INF] Starting web host.
[15:12:13 FTL] Host terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictDomainModule, Volo.Abp.OpenIddict.Domain, Version=9.0.4.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.MissingMethodException: Method not found: 'System.Collections.Generic.IAsyncEnumerable1<System.Object> OpenIddict.Abstractions.IOpenIddictAuthorizationManager.FindAsync(System.String, System.String, System.Threading.CancellationToken)'. at Microsoft.Extensions.DependencyInjection.OpenIddictCoreExtensions.AddCore(OpenIddictBuilder builder) at Microsoft.Extensions.DependencyInjection.OpenIddictCoreExtensions.AddCore(OpenIddictBuilder builder, Action
1 configuration)
at Volo.Abp.OpenIddict.AbpOpenIddictDomainModule.AddOpenIddictCore(IServiceCollection services)
at Volo.Abp.OpenIddict.AbpOpenIddictDomainModule.ConfigureServices(ServiceConfigurationContext context)
at Volo.Abp.Modularity.AbpModule.ConfigureServicesAsync(ServiceConfigurationContext context)
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
--- End of inner exception stack trace ---
at Volo.Abp.AbpApplicationBase.ConfigureServicesAsync()
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
at GiftCardIssuance.Blazor.Program.Main(String[] args) in C:\ABP Development Project\GiftCardIssuance\src\GiftCardIssuance.Blazor\Program.cs:line 37
[Event ID: 1007] Application '/LM/W3SVC/2/ROOT' with physical root 'C:\ABP Development Project\GiftCardIssuance\src\GiftCardIssuance.Blazor' failed to load coreclr. Exception message: CLR worker thread exited prematurely
+1