HTTP Error 404.2

aqedvv 21 Reputation points
2020-12-14T17:30:27.74+00:00

I have a web application, when I deploy it to iis, I get the error message 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.

I searched and found similar problems by chrome, but it didn't work for me.

404-2-ISAPI-and-CGI-list-settings-restrictions-list-settings-on-Web-Server-error-when-configuring-Corticon-NET-Server-with-IIS-7

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,190 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
    2020-12-15T02:33:26.31+00:00

    Hi @aqedvv ,

    What version of your .NET framework? Can you show me your ISAPI and CGI Restrictions setting? Below are my settings.

    48205-15.png

    Or you can try following steps:

    1.Click Add... in Actions.
    2.Inside the “Add ISAPI or CGI Restriction” box, create a new Webserver extension.
    3.For example, call the ‘Description’ either ‘Cognos.cgi’ or ‘cognosisapi.dll’ (depending on your needs).
    4.Inside the ‘ISAPI or CGI path’ configure it to allow the relevant file, which (by default) is either:
    C:\Program Files\ibm\cognos\ccr_64\cognos.cgi or C:\Program Files\ibm\cognos\ccr_64\cgi-bin\cognosisapi.dll
    5.Make sure that "Allow extension path to execute" is ticked.


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful