CAM-CRP-0251 An unexpected error occurred

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