Reputation: 1585
I've create a new website in IIS 8.5 to host classic asp page. I've choosen .net 4 as CLR framework and enabled classic mode.
I'm getting error "The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server" when I try to fun website.
I believe ISAP & CGI restrictions are already available. Am I still missing something?
Upvotes: 10
Views: 29913
Reputation: 1892
You have to enable at the server level (not site level).
Thats it. I spent days before I noticed that my site had asp enabled but the server trumped the site setting.
Upvotes: 0
Reputation: 1714
ISAPI and CGI Restrictions
allow
Upvotes: 9
Reputation: 6268
Try
setting Managed Pipeline Mode to Integrated
instead of of Classic
Upvotes: 2
Reputation: 595
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:
Open IIS and click the server name
Double click “ISAPI and CGI Restrictions”
Right click ASP.NET v1.1 and select “allow”
Upvotes: 2
Reputation: 1859
I just had a similar problem. You have to go to "Turn windows features on or off" and under the "Internet Information Services" choose "World Wide Web Services" then "Application Development Features" and you can turn them on there.
Edit: Names have been altered --- (The names might not be exactly the same the computer I am on has a German OS, I'll check once I am home and use the right ones.)
Upvotes: 0