COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Connection, Viewer, Scheduler => Topic started by: RubenvdLinden on 26 Jul 2012 10:28:02 AM

Title: Error 404 trying to access a saved report
Post by: RubenvdLinden on 26 Jul 2012 10:28:02 AM
I have a new Cognos 10.1.1 installation (64 bit, 32 bit reporting server) on IIS (Windows 2008R2, ISAPI). The url is http://cognos10bi/ibmcognos

If I try to access a saved report from Cognos Connection, I get error 404 - File not found.
However, if I turn off the Cognos Application Firewall, it works fine.

I tried replacing all the 'localhost' references in Cognos Configuration with 'cognos10bi', but the error persists whenever Cognos Application Firewall is activated.

The 'Valid domains or hosts' list is empty and should probably be configured, but simply adding 'cognos10bi', 'cognos10bi:80' or 'http://cognos10bi:80/ibmcognos' doesn't work.
How do I correctly configure Cognos Application Firewall to allow access to saved reports?
Title: Re: Error 404 trying to access a saved report
Post by: MFGF on 26 Jul 2012 10:50:33 AM
Hi,

You don't indicate what domain you are operating within. If you worked for IBM, for example, you could add *.IBM.com to your CAF domains list to allow access for all machines within the domain. Might be worth giving it a try with your own corporate domain?

Cheers!

MF.
Title: Re: Error 404 trying to access a saved report
Post by: RubenvdLinden on 26 Jul 2012 11:24:17 AM
Thanks for your reply.

I tried adding *.zorgcirkel.local and rubenxp (which is the hostname of my development PC), but the error persists.

On our production Cognos 8.4 server (Windows 2003/IIS, CGI instead of ISAPI) the CAF is also enabled, but without the "whitelist" and without the 404 problem. I'm puzzled by this problem!
Title: Re: Error 404 trying to access a saved report
Post by: RubenvdLinden on 27 Jul 2012 04:57:02 AM
Adding 'allowPathInfo="true"' to the IIS applicationHost.xml seems to have fixed the problem.