404 Not Found pop-up when browsing images in Cognos Analytics 11
When a user add an image to a report and click the Browse button, a pop-up opens displaying a 404 Web server error.
Web server error
the web request failed.
404 Not found
Despite the fact that Cognos Analytics can run without an installed gateway, in order to be able to import images into reports, you need to have a webserver with WebDAV enabled.
Despite a separate Cognos gateway installed and WebDAV enabled on /bi/samples/images/ or on /samples/images/ 404 error still remains
Cognos Analytics 184.108.40.206
Windows 2008 / 2012
IIS 7 / 8
Diagnosing the problem
You will need to configure the web server (IIS, Apache, ...) with WebDAV and install the Cognos Analytics 11 gateway components as well for this to be configured correctly
The standard config has all ibmcognos/bi/* requests being routed via reverse proxy rewrite rule to the app-tier server, which would be running in Websphere Liberty Profile which does not support WebDAV.
It means you cannot enable WebDAV on /bi/samples/images/ but it can be enabled on /samples/images/
Resolving the problem
- Set up a distributed installation (options Custom / First install), e.g. Data tier + App tier on folder IBM\Cognos\C220.127.116.11, then the Gateway on folder IBM\Cognos\C18.104.22.168GW
- Configure IIS using technote 1976435 IBM Cognos Analytics Gateway Installation Using IIS (link below)
- Enable WebDAV on Default web site and virtual directory for path <Alias>\samples\images\
- Close the 404 error pop-up and manually modify the path displayed by removing /bi
- Browse button works