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

 

SOLVED How do I get images from a non-default folder using IIS Manager

Started by Penny, 19 Mar 2015 02:35:34 PM

Previous topic - Next topic

Penny

I am probably missing something simple.  I am making the changes required to allow images in report studio.  We are using IIS Manager as our gateway and I have enabled WebDAV, setup a virtual directory (following the instructions that I have found) allowed access, etc.  The physical directory I am using is not the default that Cognos puts the samples in.  We never installed the samples and I wanted my images folder to be in a different place.

However when I am in Report Studio, and try to insert an image, Report  Studio opens up the image browser and defaults to the 'ibmcognos/samples/images/'...This folder doesn't even exist on my gateway server.

How do I change this default?  Perhaps this should be in administration.  I wasn't sure until I know what I missed.

Thanks

Raghuvir

Quote from: Penny on 19 Mar 2015 02:35:34 PM
I am probably missing something simple.  I am making the changes required to allow images in report studio.  We are using IIS Manager as our gateway and I have enabled WebDAV, setup a virtual directory (following the instructions that I have found) allowed access, etc.  The physical directory I am using is not the default that Cognos puts the samples in.  We never installed the samples and I wanted my images folder to be in a different place.

However when I am in Report Studio, and try to insert an image, Report  Studio opens up the image browser and defaults to the 'ibmcognos/samples/images/'...This folder doesn't even exist on my gateway server.

How do I change this default?  Perhaps this should be in administration.  I wasn't sure until I know what I missed.

Thanks

Hi Penny,

have you enabled the directory browsing property in IIS for the folder in which you have kept your images ?

Regards

Karti

I did a search on Google and found this link.
https://likeablebias.wordpress.com/2013/03/11/cognos-10-2-customizing-report-studio-image-dialog-default-path/

You will definitely want to make a copy of this file before making a change to it. You may need to restart your Cognos services after making this change if you don't see it in Report Studio a few minutes after making this change.

If it ends up working for you, you will most likely need to make this change again if you end up installing any fix packs to your installation.

TheFrenchGuy

By my side, and cause I often use image in my reports, when I "browse" I also got a web server error.
How I proceed to put my image :
_go to the web server where images are hosted
_copy the path
_insert "image" via toolbox
_in URL properties paste your path.

This way works for me

Penny

I needed to 'enable directory browsing on the virtual directory in IIS Manager as per Raghuvir.  Thank-you very much.
--------------------------------------------------------------------------------
Open IIS Manager and navigate to the level you want to manage (the virtual directory containing the images).

In Features View, double-click Directory Browsing.

In the Actions pane, click Enable if the Directory Browsing feature is disabled and you want to enable it.

This worked for me, now on to the problem of having them embedded in the .pdf files.