- ABP Framework version: v9.1.0
- UI Type: Blazor Web App
- Database System: EF Core SQL Server,
I am deploying a newly created ABP Blazor webapp to a new Azure Web App.
These instructions have been followed: https://abp.io/docs/latest/solution-templates/layered-web-application/deployment/azure-deployment/azure-deployment?UI=BlazorServer&DB=EF&Tiered=Yes
The DbMigrator has been successfully used to migrate the Azure database
The project is published using Visual Studio using the downloaded Publish Profile from Azure..
After publishing the website shows a: HTTP Error 500.30 - ASP.NET Core app failed to start
After turning on logging follow log is given. Please advise how to resolve this or where good instructions can be found.
2025-03-14T02:25:51 sandboxproc.exe complete successfully. Elapsed = 3305.00 ms[02:25:54 INF] Starting web host.[02:26:03 FTL] Host terminated unexpectedly!Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=9.1.0.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.---> System.Security.Cryptography.CryptographicException: The system cannot find the file specified.at System.Security.Cryptography.CngKey.Open(String keyName, CngProvider provider, CngKeyOpenOptions openOptions)at System.Security.Cryptography.X509Certificates.CertificatePal.GetPrivateKey[T](Func2 createCsp, Func2 createCng)at System.Security.Cryptography.X509Certificates.CertificatePal.GetRSAPrivateKey()at System.Security.Cryptography.X509Certificates.CertificateExtensionsCommon.GetPrivateKey[T](X509Certificate2 certificate, Predicate1 matchesConstraints)at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.GetRSAPrivateKey(X509Certificate2 certificate)at Microsoft.IdentityModel.Tokens.X509SecurityKey.get_PrivateKey()at Microsoft.IdentityModel.Tokens.X509SecurityKey.get_PrivateKeyStatus()at Microsoft.Extensions.DependencyInjection.OpenIddictServerBuilder.AddSigningKey(SecurityKey key)at Microsoft.Extensions.DependencyInjection.OpenIddictServerBuilder.AddSigningCertificate(X509Certificate2 certificate)at Microsoft.Extensions.DependencyInjection.OpenIddictServerBuilderExtensions.AddProductionEncryptionAndSigningCertificate(OpenIddictServerBuilder builder, String fileName, String passPhrase, Nullable1 flag)at Cellero.CloudServices.Blazor.CloudServicesBlazorModule.<>c__DisplayClass0_0.<PreConfigureServices>b__3(OpenIddictServerBuilder serverBuilder) in D:\DevOps\Cellero.CloudServices\src\Cellero.CloudServices.Blazor\CloudServicesBlazorModule.cs:line 129at Volo.Abp.Options.PreConfigureActionList1.Configure(TOptions options)at Microsoft.Extensions.DependencyInjection.ServiceCollectionPreConfigureExtensions.ExecutePreConfiguredActions[TOptions](IServiceCollection services, TOptions options)at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.<>c__DisplayClass1_0.<AddOpenIddictServer>b__0(OpenIddictServerBuilder builder)at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action1 configuration)at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.AddOpenIddictServer(IServiceCollection services)at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.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, Action1 optionsAction)at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)at Cellero.CloudServices.Blazor.Program.Main(String[] args) in D:\DevOps\Cellero.CloudServices\src\Cellero.CloudServices.Blazor\Program.cs:line 42
HTTP Error 500.30 - Internal Server Error
The page cannot be displayed because an internal server error has occurred.
3 Answer(s)
- 
    0hi The system cannot find the file specified Have you uploaded the openiddict.pfxto Azure as well?https://abp.io/docs/latest/deployment/configuring-openiddict 
- 
    0
- 
    0Great 

 
                                