This is a migrated thread and some comments may be shown as answers.

Image is grayed.

1 Answer 33 Views
BinaryImage
This is a migrated thread and some comments may be shown as answers.
Karl Ranville
Top achievements
Rank 1
Karl Ranville asked on 17 May 2013, 08:49 AM
Hi Telerik Admin,

We have an enterprise web application using RadControls which we configured to run on multiple web servers as a part of load balancing few days back. Now
we identified an issue with RadBinaryImage which is sometimes displayed as gray. Dont know why grey background is shown now which was working fine on our
Test server. How to resolve this issue?

Thanks for your replies,
Karl.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 17 May 2013, 09:21 AM
Hi Karl,

By default the RadBinaryImage control stores the BinaryImage in the Cache object. In case your application is configured to run in any of the environments, listed below, there will be a problem accessing the binary image:

  • Web Farm - The application runs on more than one web server at the same time.

  • Web Garden - The application runs on a single server, but the server load is divided among many worker processes (more than one process are running the same application).

Usually, every server (or every worker process) has an independent Cache, which means that, when the page request is not handled by the same web server (worker process), the BinaryImage will be null and a gray image will be shown. To avoid this behavior, you should store the BinaryImage in the Session, and configure your server environment to use out of process Session State

Thanks,
Shinu.
Tags
BinaryImage
Asked by
Karl Ranville
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or