Print Page | Close Window

Problem with linked images

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=22192
Printed Date: 28 Mar 2024 at 8:02am


Topic: Problem with linked images
Posted By: Daniel Dinkel
Subject: Problem with linked images
Date Posted: 16 Jan 2017 at 10:47am
Hallo,

I have a crystal report that we use to print our catalogue. It catches jpgs from our webserver as linked images. It always worked fine with both Linux Webserver and Windows 2008 IIS. We had to change our Windows Server that hosts the images to Windows 2012 and suddenly the images do not appear anymore. It is definitely the IIS Server as the report still displays the images correctly if they come from a Linux server.

I guess it has to do with the Response header. Here the messages from both servers:

Linux
HTTP/1.1 304 Not Modified
Date: Mon, 16 Jan 2017 08:09:23 GMT
Server: Apache
Connection: Keep-Alive
Keep-Alive: timeout=5, max=99
ETag: "239d-5460b78f56352"

Windows
HTTP/1.1 304 Not Modified
Accept-Ranges: bytes
ETag: "923f02fc52d21:0"
Server: Microsoft-IIS/8.5
X-Powered-By: ASP.NET
X-Powered-By-Plesk: PleskWin
Date: Mon, 16 Jan 2017 08:09:49 GMT

does anyone know what I have to change at the windows server to display the images?

Greetings
Daniel



Replies:
Posted By: hilfy
Date Posted: 17 Jan 2017 at 3:40am
I don't remember what the exact setting is, but I think it has to do with "cross-domain" authorizations since the images are on a different server.

-Dell

-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: Daniel Dinkel
Date Posted: 17 Jan 2017 at 4:04am
Hey Dell,

thanks first of all for your reply. From what I have understood now the problem is caused by https. As I have actived ssl for my domain on this server all images are served via https. The workaround is to use a second domain on the same server that has ssl deactivated.

Greetings
Daniel



Print Page | Close Window