1 error occurs AspNetCoreModuleV2
The reason given: on your IIS server .net core runtime is not current, resulting in AspNetCoreModuleV2 module missing or error, meaning you need to update!
2. Publish this site to IIS error occurs because of a lack xml configuration accessories
An error occurred while starting the application.
Copy this file to the directory publishing it.
Reference Links: https://www.cnblogs.com/zhan520g/p/10423656.html