Images not Appearing on Server

3 posts, 0 answers
  1. TPerry
    TPerry avatar
    47 posts
    Member since:
    Jul 2006

    Posted 19 Sep 2012 Link to this post

    Hello, I am hoping that someone can come to my rescue with this issue.  I have been tearing my hair out and just cannot figure out a solution....  I want a ListView that displays images stored in SQL.  I have a Stored Procedure that returns the data, including a Thumbnail Image that should be displayed.  The data type of the Thumbnail Image is varbinary(MAX).  Locally, it works perfectly.  However, once I publish to the server, it doesn't.  I have three items to display, each with a picture.  The first time, the page loads, it will display image 1, but not image 2 and 3.  If I click Refresh, it will display Image 2 and 3, but not Image 1.  If I click Refresh again, it will display Image 2, but not Image 1 and 3, etc, etc, etc.  I used the code found here: to create my page.  I even created a blank page, no master page, no tables, no style, etc and literally just copied in the code, changed the DataSource, and the Field Names.  Locally = Perfect.  Server=Same issue.  I'm really at a loss here and would love any insight....  please, please, please, save my forehead from further bruising!
  2. Tsvetina
    Tsvetina avatar
    1861 posts

    Posted 24 Sep 2012 Link to this post

    Hello Tara,

    Thank you for contacting us.

    You could try inspecting the rendered image in the HTML. If it has a src set but no image is returned from the URL, the URL itself may not be valid. If you are using URL rewriting modules, for example, your URL rewriter may not interpret the resource handler URL correctly. You should exclude the resource handler URL from rewriting in these cases. 

    One more thing that you should have in mind and is a common reason for questions about the control not showing image is that RadBinaryImage is not supported in web farm or web garden hosting.

    All the best,
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. DevCraft R3 2016 release webinar banner
  4. TPerry
    TPerry avatar
    47 posts
    Member since:
    Jul 2006

    Posted 25 Sep 2012 Link to this post

    Actually, we finally found the problem... our IIS server was version 6.  Once we upgraded to IIS7, it worked perfectly.  Frustrting, but at least we finally figured it out.
Back to Top