I'm getting the following error when trying view my freshly deployed application on IIS 7.0 on a Windows Server Standard server with Service Pack 2:
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.
Error Code 0x800704ec
I've deployed this application successfully on my own desktop PC.
To my knowledge, I am not using either ISAPI or CGI.
I get this even when requesting a plain and simple ASPX page.
An ASPX page isn't plain and simple - it relies on an ISAPI handler, at least when the App Pool is in Classic mode. The ASPX extension is mapped to the ASP.Net ISAPI via ISAPImodule, which doesn't sound like it's broken, but it does sound like a server admin has turned off the ASP.Net ISAPI support.
This suggests the ASP.Net configuration has changed since it was installed (assuming ASP.Net is installed).
To investigate, open up the Web Server level's ISAPI and CGI Restrictions interface, and you should see at least:
And if it's a 64 bit server
If that's not the case, or they're prohibited, you need to allow those DLLs in those paths to get ASP.Net to execute - compare the server settings for this (and your application pool mode) with your desktop computer.
User contributions licensed under CC BY-SA 3.0