IIS Error 404.2 – The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server

IIS 7 defaultly not allowing ISAPI and CGI through .Net 1.1-4 by default.
So if you are working with older code on IIS7 you may face such issue..

To solve this problem you need to follow these steps.

    • Open IIS and click the server name

iispanel


  • Double click “ISAPI and CGI Restrictions”

iisallowpermission

  • Right click ASP.NET v4.0 (whichever you are running) and select “allow”

Leave a Reply

Your email address will not be published.