Base solution for your next web application
Open Closed

Need help deploying asp.net core and angl to 3rd party host #5487


User avatar
0
kumaran created

HI I am using asphostportal cloud hosting to deploy my application. I could not find any help in deploying to 3rd party hosting for .net core and angular in your web site. All i found is only Azure deployment.

After i deployed my core project to a virtual directory, i go the following error mentioned below. I am sure i am missing some steps regarding port. Also how do i deploy my database to this 3rd party hosting server. I do have sql server in the hosting.

Need help. Thanks

Error details:

HTTP Error 502.5 - Process Failure

Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port

Troubleshooting steps: Check the system event log for error messages Enable logging the application process’ stdout messages Attach a debugger to the application process and inspect

For more information visit: <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkID=808681">http://go.microsoft.com/fwlink/?LinkID=808681</a>


4 Answer(s)
  • User Avatar
    0
    strix20 created

    Without logs, I can't give you guidance to specific failures, but when I've encountered this issue, it's typically been an exception in the startup process.

    In my cases they have almost always been related to the appsettings files. Is it possible the environment variable is not set correctly in your hosting environment, or the correct appsettings file is not being used?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @kumaran,

    You can check windows event viewer as well. Probably you need to install ASP.NET Core hosting bundle to your server.

  • User Avatar
    0
    kumaran created

    Hi

    Thanks for your reply. I will check on "ASP.NET Core hosting bundle" in my server. Meanwhile do you have any deployment document similar to azure deployments you have for 3rd party hosting.

    Thanks Kumaran

  • User Avatar
    0
    alper created
    Support Team

    install : <a class="postlink" href="https://www.microsoft.com/net/download/thank-you/dotnet-runtime-2.0.9-windows-hosting-bundle-installer">https://www.microsoft.com/net/download/ ... -installer</a>

    Is your AppPool identity running under ApplicationPoolIdentity? if so you need to grant permissions. you can switch to "LocalSystem" as identity

    I hope you can access those settings from your 3rd party provider.