HTTP Error 404.2 – Not Found

Product:

Cognos Controller 10.1.1

Windows 2008 R2 Server

Symptom:

When you surf to http://localhost/ibmcognos you get a error.

On a newly installed Cognos BI / Cognos Controller setup.

Problem:

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. Detailed Error Information

Module CgiModule

Notification ExecuteRequestHandler

Handler cgi-bin

Error Code 0x800704ec

Requested URL http://localhost:80/ibmcognos/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/main.xts&startwel=yes

Physical Path C:\Program Files (x86)\ibm\cognos\c10\cgi-bin\cognos.cgi

Logon Method Anonymous

Logon User Anonymous

 

Solution:

Go to Internet Information (IIS) Manager

Mark the server in the list to the left

Click on icon for “ISAPI and CGI Restrictions”

Note that there is no line for cognos.cgi

Click ADD from the right panel

Enter the path to the cognos.cgi file in field ISAPI or CGI path:

C:\Program Files (x86)\ibm\cognos\c10\cgi-bin\cognos.cgi

Enter cognos.cgi as Description

mark “Allow extension path to execute”

Click OK

 

Test again to surf to http://localhost/ibmcognos