There are many reasons for this error, according to the information you post, it is impossible to determine the problem. What you should do is to troubleshoot to get detailed error information.
- Use the iis logs to find the 500 subcode that will give your more information.
- Try failed request tracing.
- Run the browser on the server, you get details on the error. <configuration>
<httpErrors errorMode="Detailed" />
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.