代码改变世界

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

2013-01-25 15:06  立雪三尺  阅读(470)  评论(0编辑  收藏  举报

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

1. Open IIS and click the server name

2. Double click “ISAPI and CGI Restrictions”

3. Right click ASP.NET v1.1 and select “allow”

View Code