COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: danielcadavid on 30 Sep 2009 02:10:16 PM

Title: SOLVED:Adding Images (Windows 2008 Server, IIS 7 and Cognos 8.4 FP2)
Post by: danielcadavid on 30 Sep 2009 02:10:16 PM
Hi all,

I have recently install Cognos 8.4 BI over Windows 2008 Server and IIS 7, everything was perfect no issues, until I try to add and Image to a report (in Report Studio). I installed WebDAV 7.5 module to IIS 7, since it doesn't have it by default and also add the "images" folder into the default path (http://server/cognos8/samples) cause after the initial installation that folder wasn't automatically created.

All looks fine, I have tested, the images on the webserver by using the IE to access it and it works the images is accessible I have also added the server to the firewall list in Cognos Connection. But!!! in report studio I still getting this error:

Web server error:

The web request failed. 405 - Method Not Allowed http://server/cognos8/samples/images


I Check the error and it says you should add WebDAv (Done!!) and also enable Directory Browsing (Done!!)

Any Ideas?  ???

Title: Re: Adding Images (Windows 2008 Server, IIS 7 and Cognos 8.4 FP2)
Post by: Northern_Monkey on 02 Oct 2009 07:06:22 AM
The default path normally is in the webcontent folder!
eg,
cognos/c84/webcontent/samples/images

Then you should be able to use a relative path like with your Webdav ready to go

../samples/images
Title: Re: Adding Images (Windows 2008 Server, IIS 7 and Cognos 8.4 FP2)
Post by: danielcadavid on 02 Oct 2009 06:26:45 PM
 :) Yeap!!

That is the default path, but you will have to set that up in your web server, and "cognos/c84/webcontent/" is a virtual directory mapped to "http://server/cognos8" where "cognos8" is your alias.

So, yes I should be able, but I'm getting the error previously mentioned.  ???
Title: Re: Adding Images (Windows 2008 Server, IIS 7 and Cognos 8.4 FP2)
Post by: danielcadavid on 06 Oct 2009 06:12:07 PM
Hi There   :),

Turns out after you add the WebDAV for IIS 7 (Download from Microsoft website), is not enable by Default  :o.

So, it is as simple as enable it but you will only find it over the "Default Web Site":

1.   Click over the "Default Web Site":
2.   Select Features View and then Double click over "WebDAV Autoring Rules"
3.   In the Action windows, over the right side, click  "Enable WebDAV"
4.   Then you can create the "Authoring Rule", or else you will get the "403. Access Forbidden" message.

Note: I didn't add the rules over the root folder, or else Authors will be able to access the whole structure. So I add another "Virtual Directory" and add the  "Authoring Rule" over it.

Thanks Guys, I hope this may help someone.
Title: Re: SOLVED:Adding Images (Windows 2008 Server, IIS 7 and Cognos 8.4 FP2)
Post by: Yizi on 23 Jul 2014 04:07:12 PM
Sorry to open this topic up again, I've followed the guides and I get a 405 error - Method Not Allowed