Wednesday 20 March 2013

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


By default IIS 7 does not allow ISAPI and CGI through .Net 4.0. So if you are working with older code on IIS 7 you will need to follow these steps to resolve the issue:

      
     Open IIS and click the server name



2. Double click “ISAPI and CGI Restrictions”

3. Right click ASP.NET v4.0.30319 and select “allow”





1.     Go to Start > All Programs > Administrative Tools > Services.

2.     In the services list, right-click World Wide Web Publishing Service, and then   click Stop (to stop the service), Start (to start it after it has been stopped), or Restart (to restart the service when it is running).


No comments:

Post a Comment