When trying to use CM_Tester application in Firefox and entering the Authentication information, an error is received back :
"Unable to send request, please insure you are running under the same server and port as the Content Manager URL(http://localhost:9300/p2pd/servlet)"
Or this error occurs :
"Error sending the request to http://servername:9300/p2pd/servlet" - Error #0 undefined HTTP Status: 0 , ReadyState : 4"
This error will be thrown, right after attempting to logon to the IBM Cognos 8 service within CM_Tester application.
This happens even if IBM Cognos BI is running on the same system and using "localhost" as the server name.
Due to the browser security model, the redirection to what is viewed as a different domain, is being prevented by the browser.
Windows, Unix, Linux
Resolving the problem
CM_Tester uses AJAX to communicate between the htm page and Content Manager.
Firefox's security model, by default, does not allow for AJAX communication between what it perceives as different domains.
For example if you're running cm_tester from c:/cognos/webcontent/cm_tester.htm and sending requests to :
http://localhost:9300/p2pd/servlet , Firefox will block this communication.
Alternate Solution for use, and to allow this browser security feature to work as normal, Copy cm_tester.htm from the <install>/webcontent directory to the <install>/webapps/p2pd directory.
Then Access cm_tester.htm using the URL :
This way when cm_tester sends its AJAX requests, it is sending them to the same domain, and the security model isn't violated.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.