HTTP Error 404.2 - Not Found. The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server
You will get this error in the following situation.
On IIS, there is a property named Managed Pipeline Mode for each Application Pool.
If this is set as Classic instead of Integrated, we will get this error.
On Run type inetmgr to open IIS.
On IIS select the website.
Right Click on the Website and select Manage WebSite and then select Advanced Settings.
A new windows will be opened where you can find the settings of that website.
On the General Section, note down the name of the Application Pool.
Now on the left panel of the IIS, click on the Application Pools Node at the top.
Select the earlier got Application Pool from the Features View.
Right Click on the selected Application Pool and Select Advanced Settings.
On the General Section, change the Managed Pipeline mode to Integrated instead of Classic.