question

ziwi-4790 avatar image
0 Votes"
ziwi-4790 asked SamWu-MSFT answered

How to fix 500 Internal Server Error

I'm migrating multiple websites from windows server 2012 to windows server 2022 using web deploy.

When I try to view the site in a web browser, some of them have problems, I view the site and get "500 Internal Server Error". How to fix this error?

windows-server-iis
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SamWu-MSFT avatar image
0 Votes"
SamWu-MSFT answered

@ziwi-4790

First of all, you may need to check whether the necessary feature has been installed, such as Common HTTP Features, Application Development, Management Tools etc.

Secondly, considering it is migrated from windows 2012, you could try to set application pool to classic mode and enable 32-bit applications in application pool advanced setting.


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

VitoProcino-4399 avatar image
0 Votes"
VitoProcino-4399 answered

500 internal server error is generic error.

If you migrate site from - to, you check that target server has all IIS features of source IIS Server.

You must check .net on target server, and you must re-create application pool of migrate site because identity pool could be wrong.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.