Image is grayed.

2 posts, 0 answers
  1. Karl Ranville
    Karl Ranville avatar
    28 posts
    Member since:
    Mar 2013

    Posted 17 May 2013 Link to this post

    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,
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 17 May 2013 Link to this post

    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

Back to Top