COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: mohsin2010 on 11 Jan 2011 03:24:51 AM

Title: Image Insertion Error in Report Studio ?
Post by: mohsin2010 on 11 Jan 2011 03:24:51 AM
HI,

Image insertion in report resulting in error as shown in the pic kindly help me out???  Embarrassed

Best Regards,
Syed mohsin Raza
Title: Re: Image Insertion Error in Report Studio ?
Post by: PRIT AMRIT on 12 Jan 2011 12:55:15 AM
Why don't you put the images under:
Program Files\cognos\c8\webcontent\samples\images

and in Report Studio write the path like:
/cognos8/samples/images/ImageName.JPG


Thanks
P

Title: Re: Image Insertion Error in Report Studio ?
Post by: cognostechie on 12 Jan 2011 01:30:38 AM
Also check if 'Directory Browsing' is checked on for the virtual directory for cognos
Title: Re: Image Insertion Error in Report Studio ?
Post by: mohsin2010 on 12 Jan 2011 01:58:31 AM
i have did that but its still giving error as shown in the attachment.  :'(

Best Regards,
Syed Mohsin Raza
Title: Re: Image Insertion Error in Report Studio ?
Post by: MFGF on 12 Jan 2011 11:55:55 AM
Hi Mohsin,

You must remember that you are using Cognos Express not Cognos 8.  Cognos Express does not use a conventional web server, but rather uses the inbuilt Tomcat instance (hence all your initial URLs are of the form http://<hostname>:9300/p2pd/servlet/dispatch...)

Relocate your images folder so it sits below <install path>\webapps\p2pd

When you have done this, enter the URL of the image you want to use in the form:

http://<your server>:9300/p2pd/images/<your image file>

I'm not convinced you will get image browsing to work, but you should be able to address each image directly via its url as above.

Regards,

MF.
Title: Re: Image Insertion Error in Report Studio ?
Post by: mohsin2010 on 12 Jan 2011 10:44:47 PM
HI MFGF,

your Experience always work !! humm ... now i m getting images :)


Best Regards,

Syed Mohsin Raza