.Netcore 2.1.4 programs deployed to IIS report the following errors:
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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: https://go.microsoft.com/fwlink/?LinkID=808681
Solution, select the application pool –& GT; Advanced setting –& GT; The load user profile is set to true.
Problem: IIS defaults to not read our. Netcore configuration file AppSettings. json. Error message when executing donet path/application.dll as shown in the figure below:
Object Reference not set to an instance of an Object is found because the corresponding configuration cannot be found.
After modifying the application pool Settings, the problem is resolved.