1. The application pool typically builds its own framework version of the program pool, and the managed pipeline mode is classic
2. On the IIS root, double-click on the right side of the "ISAPI and CGI Restrictions" double-click to open the limit of the framework version you need to "allow",
If you find that you don't have the framework version you need, you need to add
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_isapi.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll
Register the required version when you are finished adding
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe-i
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe-i
3. Double-click to open the site you created, open the ISAPI filter on the right, if you do not find the framework version you need to add
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_filter.dll
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_filter.dll
Hint: actually registered the framework version, do not need to 2,3 in the addition, but I did not test, I was first added after registration, then there will be two.
Some insights into the IIS Publisher program