- ABP Framework version: v7.2
- UI Type: Angular
- Database System: EF Core (SQL Server)
- Tiered (for MVC) or Auth Server Separated (for Angular): yes
- Exception message and full stack trace: Application Failed To Start
Hi,
I am deploying the app to windows IIS server after doing the package deploy, its giving error:- application failed to start,
Do I need to install ABP CLI and login on the server machine or any kind of certificate or key needs to be installed ?
Please provide the steps to do so.
Thanks !!
5 Answer(s)
-
0
Hi,
You can check this:
https://support.abp.io/QA/Questions/245/ABP-LIC-0008---License-check-failed-for-'XXXXX' https://support.abp.io/QA/Questions/69/
-
0
Hi,
I tried above solutions, but now when we hit the url the application pool stops deliberately.
The error is shown 503 service unavailable.
-
0
Hi,
Can you share the full error logs?
-
0
these are the logs:-
2023-08-24 12:17:40.677 +01:00 [INF] Starting .AuthServer.AuthServer.
2023-08-24 12:17:42.427 +01:00 [FTL] .AuthServer.AuthServer terminated unexpectedly!
Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=7.2.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details.
---> System.IO.FileNotFoundException: Signing Certificate couldn't found: C:\inetpub\wwwroot\DealPipelineUAT\authserver.pfx
at .AuthServer.AuthServerAuthServerModule.GetSigningCertificate(IWebHostEnvironment hostingEnv, IConfiguration configuration) in C:\Users\cmohanty\Source\Repos\DealPipeline\IdentityModule\src.AuthServer.AuthServer\AuthServerAuthServerModule.cs:line 313
at .AuthServer.AuthServerAuthServerModule.<>c__DisplayClass0_0.<PreConfigureServices>b__2(OpenIddictServerBuilder builder) in C:\Users\cmohanty\Source\Repos\DealPipeline\IdentityModule\src.AuthServer.AuthServer\AuthServerAuthServerModule.cs:line 94
at Volo.Abp.Options.PreConfigureActionList`1.Configure(TOptions options)
at Microsoft.Extensions.DependencyInjection.ServiceCollectionPreConfigureExtensions.ExecutePreConfiguredActions[TOptions](IServiceCollection services, TOptions options)
at Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule.<>c__DisplayClass1_0.
at Microsoft.Extensions.DependencyInjection.OpenIddictServerExtensions.AddServer(OpenIddictBuilder builder, Action`1 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, Action`1 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)
-
0
See https://docs.abp.io/en/abp/latest/Deployment/Configuring-OpenIddict#production-environment