Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

ASP NET ZERO Deployment Error 500.30 on IIS Server #9671


User avatar
0
lalande1988 created

Hello,

I have been trying to deploy my ASP Net Zero solution (v9.0.1) on IIS Server using .net core 3.1 framework. The server used is Windows Server 2019. Visual Studio builds, compiles and runs the application successfully, but as soon as I publish it on IIS server it starts giving me error 500.30:

HTTP Error 500.30 - ANCM In-Process Start Failure Common solutions to this issue: The application failed to start The application started but then stopped The application started but threw an exception during startup 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: https://go.microsoft.com/fwlink/?LinkID=2028265

I followed the steps as per described on your weblink: https://docs.aspnetzero.com/en/aspnet-core-mvc/latest/Deployment-Mvc-Core-IIS, but no luck till now. I would highly appreciate if you provide the quickest support for this issue.

Kind regards, Prashant


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @lalande1988

    Could you enable below config in your web.config and see the log writtent to logs folder ?

    If there is no logs folder, please create it and assign write permisison to IIS User.

    .NET core 3.1 IIS Hosting bundle might be missing on your server.

  • User Avatar
    0
    lalande1988 created

    I set stdoutLogEnabled to true and now I can see the log file which indicates the permission error for tempkey.rsa in the project root folder location.

    The file was missing from that location. I also found the root folder of the project had no write persmission to IIS User, so I set it too. Performing this task I could see the tempkey.rsa file created in the project root folder. But now the server is giving Error 500:

    This page isn’t working 1XX.XXX.XXX.XXX is currently unable to handle this request. HTTP ERROR 500

    I checked the log file again this time and it is empty.

    NB: .NET core 3.1 IIS Hosting bundle was installed from the begining.

    What steps I should take now?

  • User Avatar
    0
    maliming created
    Support Team

    hi @lalande1988

    Can you check App_Data/Logs/Logs.txt file when http 500 error.

  • User Avatar
    0
    raidenerji created

    i am having the same error.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @raidenerji

    Did you solve your problem ?