Pinned topic Missing image in active report. IIS 7. Windows Authenticating.
Re: Missing image in active report. IIS 7. Windows Authenticating.2014-01-22T07:28:53ZThis is the accepted answer. This is the accepted answer.
- Mehdi R 270002NYBN
Unfortunately, I didn't fix it.
For now I'm using anonymous authentication enabled on "pic" virtual directory.
Somebody help us, please?Updated on 2014-01-22T07:29:06Z at 2014-01-22T07:29:06Z by Vasya_Terkin
neni 270002EYYP4 Posts
Re: Missing image in active report. IIS 7. Windows Authenticating.2014-01-27T20:18:58ZThis is the accepted answer. This is the accepted answer.
- Vasya_Terkin 270006FDQW
please try placing the images on your application server in "webcontent\samples\images"
neni 270002EYYP4 Posts
TimTam18 2700053KV111 Posts
Re: Missing image in active report. IIS 7. Windows Authenticating.2014-02-07T03:44:06ZThis is the accepted answer. This is the accepted answer.
Hi - I had a similar issue some time ago, logged a PMR to IBM and get it resolved finally. This is an extract from the email chain:
i. IBM's suggestion: Install WebDAV Publishing Role Service & enable WebDAV Autoring Rules to Enable the service. << My comment: I also reckon this is more to allow Authors to browse, view and modify images in the "Image" folder via a HTTP interface. A "nice to have" feature but not a must.ii. IBM's suggestion: Configure IIS Web Service Authentication for Anonymous user read access to the Cognos virtual directory images folder. << My comment: The "Anonymous Authentication" featured should be enabled, but only at the immediate folder hosting the image (e.g. http://servername/cognos/images or http://servername/cognos/samples/images ). It should NOT be enabled right at the Cognos virtual directory (e.g. http://servername/cognos ) because this will disable single sign-on and violates the recommended setting as per this guide (see the WebDAV section)You can also refer to this Proven Practice document, especially the WebDAV section, for further details:
Hope it helps,
Re: Missing image in active report. IIS 7. Windows Authenticating.2014-04-11T13:21:11ZThis is the accepted answer. This is the accepted answer.
- TimTam18 2700053KV1
As I said:
Configure IIS Web Service Authentication for Anonymous user read access to the Cognos virtual directory images folder
If I do this, then Anonimous user can enter to "http://host/cognos/pic" and can see any pictures.
I want that only authorized users may see these pictures.
Anonimous access is not appropriate.
Re: Missing image in active report. IIS 7. Windows Authenticating.2014-05-15T05:47:40ZThis is the accepted answer. This is the accepted answer.
Hello, neni! Yes, it works!But only when I insert relative URL "../samples/images/picture1234.png" as image URL in active report.i.e. image <effective_URL> = <COG_ROOT>/bin/../webcontent/<dummy>/samples/images/picture1234.png= <COG_ROOT>/webcontent/samples/images/picture1234.pngWhen I insert absolute URL: "http://host/cognos/pic/s_images/picture1234.png and run report, this picture is missing.When I insert absolute URL in browser address bar, I can see this picture (after passing windows authentication).As a result it's impossible to find image by virtual path if absolute URL doesn't work.When I allow anonymous authentication on the folder where the picture located, the picture appears in the active report.Does anyone know why this happens? Please, help.Here is a document that explains how the search of images works based on the image URL syntax:Info:<COG_ROOT> = D:\cognos64\Physical path to the picture: D:\cognos64\webcontent\samples\images\picture1234.pngVirtual path to the picture: http://host/cognos/pic/s_images/picture1234.png"cognos", "pic" and "s_images" are virtual directories:"cognos" = D:\cognos64\webcontent"pic" = D:\cognos_website\wwwroot\pic\"s_images" = D:\cognos64\webcontent\samples\images\I've tried to place the picture everywhere,but it can't be found by absolute URL in active reports,until I allow anonymous acces to the folder containing this picture.
- neni 270002EYYP