Open Closed

Abp Fw App Deployment To Windows IIS #5634


User avatar
0
Dev2ng created
  • 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 !!

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

5 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    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/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Dev2ng created

    Hi,

    I tried above solutions, but now when we hit the url the application pool stops deliberately.

    The error is shown 503 service unavailable.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    Can you share the full error logs?

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    Dev2ng created

    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)

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    See https://docs.abp.io/en/abp/latest/Deployment/Configuring-OpenIddict#production-environment

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.