HTTP 500.21 - Internal Server Error

created at 07-03-2022 views: 9

problem

When deploying a local web project (win7, vs2017 development) to IIS, the following error occurred

reason

After installing Framework v4.0, and then enabling IIS, the Framework is not fully installed

solution

cmd -> run as administrator ->%windir%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i

If it still doesn't work, check the application pool of IIS to see if the integrated mode is used, and if not, change to the integrated mode.

created at:07-03-2022
edited at: 07-03-2022: