IBM Support

** Troubleshooting ** "The request failed with HTTP status 405: Method Not Allowed"

Technote (troubleshooting)


Problem(Abstract)

User launches Controller client. User receives error.

Symptom



Error
An error occurred while trying to access the server.
http://servername/ibmcognos/cgi-bin/cognos.cgi?t=controller
[Details] [OK]

Error Details
The request failed with HTTP status 405: Method Not Allowed.

Cause

There are several possible causes for this error:

  • Scenario #1 - Gateway server's cgi-bin virtual directory's 'Handler Mappings' has not been configured correctly.
    • For more details, see separate IBM Technote #1653270
  • Scenario #2 - Gateway server has 32-bit BI components installed, and is using ISAPI, but the Application Pool has been configured to not allow 32-bit applications.
  • Scenario #3 - Administrator has incorrectly configured the setting "Controller URI for gateway" inside "Cognos Configuration" on the Gateway server.
    • For more information, see separate IBM Technote #1653498
  • Scenario #4 - Incorrect 'bitness' level on the Gateway server.
    • For more information, see separate IBM Technote #1654607

Environment

Scenario #2

Gateway has 32-bit BI components installed, and is configured to use ISAPI with 't=controller'

Resolving the problem

Scenario #1

Reconfigure the Handler Mappings for the virtual directory 'cgi-bin' on the 'Gateway' server to be correct.

  • TIP: For more details, see separate IBM Technote #1653270

Scenario #2

  • Fix: Reconfigure the relevant Application Pool to allow 32-bit applications.

On the Gateway server:

1. Open "Server Manager"

2. Locate the relevant Application Pool.


    TIP: By default, this is "DefaultAppPool"

3. Right-click on this, and choose "Advanced Settings":

4. Modify the setting "Enable 32-Bit Applications" to be " True":

5. Click OK, and test.

  • Workaround: Reconfigure gateway server and client to use CGI (not ISAPI).
On the client device:
  1. Open up this folder: "C:\Program Files (x86)\ibm\IBM Cognos Controller\
  2. Open the file "CCR.exe.config" inside NOTEPAD.EXE
  3. Change the "WSSUrl" line to something similar to:

Scenario #3
Modify the setting for "Controller URI for gateway" to the correct value, for example:
http://APPSERVER:80/ibmcognos/controllerServer/ccrws.asmx

  • For more information, see separate IBM Technote #1653498

Scenario #4

Reconfigure the bitness level to be correct (e.g. bitness32).

  • TIP: For more details, see separate IBM Technote #1654607

Related information

1653270 - "The request failed with HTTP status 405: Met
1653498 - "The request failed with HTTP status 405: Met
1654607 - "The request failed with HTTP status 405: Met

Document information

More support for: Cognos Controller
Controller

Software version: 10.1.1

Operating system(s): Windows

Reference #: 1653361

Modified date: 30 October 2013