• Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (4)

1 deep_k commented Permalink

Thanks very much for sharing this, However, I tried this sample and it doesn't work as expected. I have enabled bluepages authentication on cognos and trying to run a report using this sample. The sample runs the report and returns the results if I explicitly log in cognos first and then run the sample. But if I login via sample itself and run report, It returns with the logon error ("logon issue while running report") as you can see from below code snippet. It seems the doLogon() itself works just fine but doReport() still complains as if user is not authenticated. <div>&nbsp;</div> <div>&nbsp;</div> function callBack() <br /> { <br /> if (objXHR.readyState == 4) <br /> { <br /> if (objXHR.status == 200) <br /> { <br /> var frag = document.getElementById("fragment"); <br /> frag.innerHTML = objXHR.responseText; <br /> window.status = "Done"; <br /> } <br /> else if (objXHR.status == 403) <br /> { <br /> var frag = document.getElementById("fragment"); <br /> alert("logon issue while running report.."); <br /> frag.innerHTML= logonHTML; <br /> } <br /> else <br /> { <br /> var frag = document.getElementById("fragment"); <br /> frag.innerHTML = objXHR.responseText; <br /> alert("HTTP ERROR " + objXHR.status + ": " + objXHR.statusText); <br /> window.status = "Done"; <br /> } <br /> } <br /> } <div>&nbsp;</div> <div>&nbsp;</div> I would appreciate if you could help me identify the issue.

2 KCamp commented Permalink

Is this sample 3 or sample 4 you are trying to run? <div>&nbsp;</div> Sample 3 is coded to a namepace called kdap, and doesn't actually verify that you have successfully logged in (to keep it simple). Sample 4 would work with any security configuration and does verify that you have successfully logged in. This needs to be changed to the name of your bluepages namespace (use the value of Namespace ID in your Cognos Configuration).

3 deep_k commented Permalink

Thanks very much for your help. The issue was that I was using Namespace name instead of Namespace ID value. It worked like a charm after this minor change. <div>&nbsp;</div>

4 santoshborse commented Permalink

Thanks for the article, I am trying to Configure Cognos with IBM Bluepages LDAP however no user is able to login to that namespace, if you can help. <br />

Add a Comment Add a Comment

+Media center

Click to view Cognos videos and pictures

Loading...
www.flickr.com
More...