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
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?