If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

404 File Not Found When Browsing for Images in RS

Started by IzzyB, 07 Oct 2016 08:49:28 AM

Previous topic - Next topic

IzzyB

Running 11.0.3 on a Windows R2012 server. It's a single-server system, which we only use for demos.

I an image from the host server will appear in RS if I use the relative path complete with the image name. For example:
../samples/images/green.jpg

Returns the image that I'm expecting.


However, when attempting to browse the folder ../samples/images/ from report studio I get the following error:

404-Not Found
../samples/images/

I've tried checked the WebDav and IIS settings against this article:
http://www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.inst_cr_winux.doc/t_enablewebdavoniis.html

And everything looks fine.

I've also tried using every way of typing the image's filepath the image that I know (combinations of localhost, the Servername, the Server address, etc. )  Only the relative path given above returns the image. I'm sure that I'm pointing to the right directory since I tried deleting a test image from there temporarily and it disappeared in RS as well.

Any Ideas Folks?


IzzyB

Quick update, I am able to get the image in RS by typing the full path:
http://<IPAddress>:<Port>/samples/images/green.jpg

But I still can't browse to http://<IPAddress>:<Port>/samples/images/green.jpg from RS. Any ideas?

MFGF

Quote from: IzzyB on 07 Oct 2016 08:49:28 AM
Running 11.0.3 on a Windows R2012 server. It's a single-server system, which we only use for demos.

I an image from the host server will appear in RS if I use the relative path complete with the image name. For example:
../samples/images/green.jpg

Returns the image that I'm expecting.


However, when attempting to browse the folder ../samples/images/ from report studio I get the following error:

404-Not Found
../samples/images/

I've tried checked the WebDav and IIS settings against this article:
http://www.ibm.com/support/knowledgecenter/SSEP7J_11.0.0/com.ibm.swg.ba.cognos.inst_cr_winux.doc/t_enablewebdavoniis.html

And everything looks fine.

I've also tried using every way of typing the image's filepath the image that I know (combinations of localhost, the Servername, the Server address, etc. )  Only the relative path given above returns the image. I'm sure that I'm pointing to the right directory since I tried deleting a test image from there temporarily and it disappeared in RS as well.

Any Ideas Folks?

Hi,

Image browsing is delivered as a function of using a web server with WebDAV enabled. From the URL you're describing below, you are using the servlet gateway rather than a web server? If so, you're not going to be able to browse for images...

The full URL if you want to enter it should be http://<IPAddress>:<Port>/bi/samples/images/green.jpg

The /bi part is new for Cognos Analytics

Cheers!

MF.
Meep!

IzzyB

Thanks for dropping in, when I saw the muppet I knew that things were about to get better :).

Funny enough, when I try http://<IPAddress>:<Port>/bi/samples/images/green.jpg I get the following error: The Web Request Failed.

I'm honestly not sure whether I'm using a servlet gateway or a web server. Is there anyway that I can check and get back to you? If I am using a web server, what URL should I use to call an image in RS? (Sorry if these are silly questions, administration is not quite my specialty).


MFGF

Quote from: IzzyB on 07 Oct 2016 11:32:33 AM
Thanks for dropping in, when I saw the muppet I knew that things were about to get better :).

Funny enough, when I try http://<IPAddress>:<Port>/bi/samples/images/green.jpg I get the following error: The Web Request Failed.

I'm honestly not sure whether I'm using a servlet gateway or a web server. Is there anyway that I can check and get back to you? If I am using a web server, what URL should I use to call an image in RS? (Sorry if these are silly questions, administration is not quite my specialty).

Hi,

If you are using a web server, I'd expect to see cognos.cgi or cognosisapi.dll or similar in the url. The exact URL you use would be dependent on how the web server had been configured to allow access. It's not really possible to say what url you would be using, sadly.

Where are your images stored in the server? By default the sample images now are in <install location>\analytics\webcontent\bi\samples\images. Yours might not be, though?

Cheers!

MF.
Meep!