COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: antexity on 16 Feb 2011 04:28:19 PM

Title: Inserting Pictures WEBDAV / IIS
Post by: antexity on 16 Feb 2011 04:28:19 PM
Hello Guys.Gals,

I'm trying to insert pictures into my reports but when I specify the folder I get the popup error " Web Server Error"

I installed IIS 6, enabled WEBDAV,  created a website and setup my directory.  I am able to browse in my web browser to the directory I have setup in IIS also.  I have READ and Browsing Checked Off in IIS.  I selected " Redirection to a URL" and even shared the Samples/Images folder under my computer.   and Path http://cognosx.XXX.com/images/

Am I missing something?

Thanks in advance,
Jonathan
Title: Re: Inserting Pictures WEBDAV / IIS
Post by: wolfgang on 18 Feb 2011 05:06:41 AM
hi jdonais,

I had nearly same problem. But I solved it by inserting URL in InputBox within Report Studio:
..\images\NameOfImage.jpg

and it works well.
Rgds,
Wolfgang
Title: Re: Inserting Pictures WEBDAV / IIS
Post by: antexity on 18 Feb 2011 09:29:59 AM
Thanks for the reply Wolfgang.

Still no luck, I have a feeling it must be a authentication issue, and I can't seem to wrap my fingers around it.   I log into Cognos B10 Demo via Administrator no password. I tried to setup all that info in IIS but no luck,  hopefully someone here has a solution.

Thank you,
Jonathan
Title: Re: Inserting Pictures WEBDAV / IIS
Post by: kmuller on 18 Feb 2011 09:31:43 AM
What about security on the folder the images exist?  Does the id that is running the Cognos service have permissions to see the folder?
Title: Re: Inserting Pictures WEBDAV / IIS
Post by: AussiePete2011 on 02 Mar 2011 07:09:28 PM
try adding the image folder to the ../<coginstall>/webcontent/ folder on your c8 or c10 Gateway
If this works its either because of the permissions as mentioned before or its because your images URL in the report is using a relative path rather than a fully qualified path.

Cheers
Peter B
Title: Re: Inserting Pictures WEBDAV / IIS
Post by: antexity on 17 Mar 2011 12:37:33 PM
Thank you, I will try that.
Title: Re: Inserting Pictures WEBDAV / IIS
Post by: badfoo on 20 Mar 2011 08:11:16 PM
I had a similar problem with IIS7.0, Not being able to browse images.

I found in addition to what was in the settings for enabling browsing of images, I had to,
Add an Authoring rule to images directories. and enable windows authentication against the directory itself. With out windows auth it would not browse but you could browse the directory directly through http.  For some reason it required the authentication to be added.

Hope that helps :)

badfoo