Open Closed

Deploy and run app with http #8754


User avatar
0
SharmaAtul created
  • ABP Framework version: v9.0.2
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated: yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Can we deploy and run app on IIS with http?


8 Answer(s)
  • User Avatar
    0
    SharmaAtul created

    Also, We are using OpenId with microsoft azure AD.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Can we deploy and run app on IIS with http?

    Hi, yes you can there is no restriction for that. We have an IIS Deployment documentation, you can check this document.

    Note: If IIS is not accepting HTTP traffic, you may need to run (https://learn.microsoft.com/en-us/windows/win32/http/add-urlacl):

    netsh http add urlacl url=http://*:<yourapplicationport>/ user=Everyone
    

    Regards.

  • User Avatar
    0
    SharmaAtul created

    I am getting this error after deployment

    Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=9.0.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.Security.Cryptography.CryptographicException: The specified network password is not correct.

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    I am getting this error after deployment

    Volo.Abp.AbpInitializationException: An error occurred during ConfigureServicesAsync phase of the module Volo.Abp.OpenIddict.AbpOpenIddictAspNetCoreModule, Volo.Abp.OpenIddict.AspNetCore, Version=9.0.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.Security.Cryptography.CryptographicException: The specified network password is not correct.

    Can you please check this thread for this problem?

  • User Avatar
    0
    SharmaAtul created

    I tried it but still getting the same error

  • User Avatar
    0
    SharmaAtul created

    I am deploying changes in a virtual machine in azure

  • User Avatar
    0
    SharmaAtul created

    Application '/LM/W3SVC/3/ROOT' with physical root 'C:\inetpub\NGPortal' has exited from Program.Main with exit code = '1'. First 30KB characters of captured stdout and stderr logs: [10:01:45 INF] Starting web host. [10:01:47 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.0.2.0, Culture=neutral, PublicKeyToken=null. See the inner exception for details. ---> System.Security.Cryptography.CryptographicException: The specified network password is not correct. at System.Security.Cryptography.X509Certificates.X509CertificateLoader.ImportPfx(ReadOnlySpan1 data, ReadOnlySpan1 password, X509KeyStorageFlags keyStorageFlags)

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    You can check this https://codejack.com/2022/12/deploying-abp-io-to-an-azure-appservice/

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 19, 2025, 10:09