Welcome to the new CogKnowHow.com!


If you have trouble logging in, reset your password via the login window
by clicking the 'Forgot Password' link.

CM-REQ-4159 Content Manager has returned an error in the response header


#1

Error logging into Cognos Connection CM-REQ-4159 for some users

Symptom CM-REQ-4159 Content Manager has returned an error in the response header.

Problem
Some users can not loging

Cause
There are many potential causes for a CM-REQ-4159 error. But often it is caused by the end user’s Cognos 8 BI Reporting Service user profile (located in the content store) is invalid/corrupted.
This is located on the application server, in the installation directory D:\Program Files\cognos\c8\logs\cogserver.log you find something like:

  • Cognos User:g:284adf7539cccef63426198efd234add") | CAMID(“Active Directory - Cognos User:u:907ce71936acde24111048259c6dda”) ) Warning CM-REQ-4036 The object already exists at this location.
    Audit.cms.CM QUERY membership( CAMID(“Active Directory - Cognos User”) | CAMID(“Active Directory - Cognos User:g:0c76ad899a8d1140a2e43867c4c8a310”) | CAMID("Active Directory - Cognos <…>

Solution
Recreate the Cognos 8 profile for the corrupt user profile

Steps:

  1. Launch Cognos Connection (http://servername/cognos8)
  2. Logon as a Cognos 8 BI ‘system Administrator’ or ‘Directory Administrator’
  3. Inside ‘IBM Cognos Administration’, choose the ‘Security’ Tab
  4. Open the external authentication namespace. Note: This will NOT be the built-in ‘Cognos’ namespace!
  5. Select “Tools” then “Directory”
  6. Navigate to locate the corrupt end user profile. Click on the magnifying glass icon in the upper right hand corner to search the user.
  7. Once you have located the username, select “Set properties” icon for the user.
  8. Click on the hyperlink word ‘More’ to the far right of the corrupt user profile line
  9. Click ‘Delete this user’s profile’
  10. Ask the owner of the user profile to logon in Cognos connection and test.

#2

Symptom
The client did something wrong.
CM-REQ-4159 Content Manager has returned an error in the response header.
CAM-AAA-0064 The function ‘CAM_UnprotectData’ failed.
CAM-CRP-0251 An unexpected error occurred.

Problem
Error received when trying to log into Cognos Connection via IIS Gateway. No error received when trying to log into Cognos Connection via Dispatcher port 9300. This indicates a web server problem.

Cause
Misconfiguration of the IIS webserver

Environment
Internet Information Services (IIS)

Solution
Recreate Virtual Directories in IIS.

Steps:

  1. Open IIS.
  2. Right-click on Default Websites -> New Virtual Directory.
  3. Enter name for Virtual Directory. Click Next.
  4. Browse to web content folder of Cognos installation. Click OK. Click Next.
  5. Right-click on newly created Virtual Directory -> New Virtual Directory.
  6. Enter ‘cgi-bin’ for name. Click Next.
  7. Browse to cgi-bin folder of the Cognos installation. Click OK. Click Next.

In IIS 6.0, check also the Web service Extentsions. Make sure that CGI & ISAPII are set to ‘Allowed’ or that there is a web extentsion created for the login scripts. ie. cognos.cgi and cognosisapi.dll