IBM Support

"HTTP Error 404.3 - Not Found" ... "cannot be served because of the extension configuration ... 0x80070032 " when launching Controller, caused by missing Mapping Module

Troubleshooting


Problem

User launches Controller client. User chooses database, and clicks 'OK' button. User receives error message.

Symptom

Log on Controller
Server Error in Application "DEFAULT WEB SITE" Internet Information Services 7.0

Error Summary
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map. Detailed Error InformationModule StaticFileModule
Notification ExecuteRequestHandler
Handler StaticFile
Error Code 0x80070032
Requested URL http://servername:80/cognos8/cgi-bin/cognos.cgi?b_action=xts.run&m=portal/close.xts&h_CAM_action=logon
Physical Path C:\Program Files\cognos\c8\cgi-bin\cognos.cgi
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
It is possible that a handler mapping is missing. By default, the static file handler processes all content.
The feature you are trying to use may not be installed.
<.....>

Cause

There are several potential causes for similar error messages.

  • For example, see separate IBM Technote #2006918 different potential causes.

This IBM Technote specifically relates to the scenario where there is a missing 'cgi-bin' Mapping Module for virtual directory 'cgi-bin' website on Controller application server (or report server).

Environment

Controller/Report server based on Windows 2008.

Diagnosing The Problem

If the end user launches Cognos Connection (http://servername/ibmcognos) then the following message appears:

HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

Resolving The Problem

Create 'cgi-bin' Mapping Module for virtual directory 'cgi-bin' website on Controller application server (or report server).

  • Afterwards, check the "web.config" file.

Steps:
  1. Logon to Controller application server (or BI report server) as a Windows administrator
  2. Launch IIS Manager
  3. In the tree control in the left pane expand (machine name) > Web Sites > Default Web Site
  4. Locate and select/highlight the cgi-bin virtual directory
  5. Double-click on ‘Handler Mappings
  6. Click on ‘Add Module Mapping’
  7. Enter the values exactly as appear below (*.cgi, CgiModule, cgi-bin):


8. Click OK.

NOTE: By default handlers defined in IIS 7.0 for either CGI or ISAPI modules do not process the full path information in a URI.
=> Therefore (see Technote 1390241) on Windows 2008 you must also perform the following:
  1. Using Windows Explorer, open the cgi-bin folder (TIP: By default, for Controller 10 on 32-bit Windows this is: C:\Program Files\ibm\cognos\c10\cgi-bin)
  2. Launch NOTEPAD.EXE and edit the file ‘web.config’:
  3. Add the text allowPathInfo="true" after the word “unspecified

TIP: The file will now look similar to:


For most servers, the above is enough to solve the problem. However, in some environments the file contains the phrase types="CgiModule" instead of modules="CgiModule". In this case, you will need to change the file to say: modules="CgiModule"

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.0;10.1.1;10.1;8.5.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
15 June 2018

UID

swg21577559