Broken Images

4 posts, 1 answers
  1. Joe
    Joe avatar
    26 posts
    Member since:
    May 2009

    Posted 07 Mar 2010 Link to this post

    Hi,

    I had rad binary image working fine on my testing server.  However, when I uploaded my project to the production web server all of the images are broken.  Images in grids, images in datalists, stand alone images, everything.  I have  my web.config file configured properly.  I rebuilt the solution multiple times.

    What's really odd is that other than the root of the url address (http:\\localhost\ vs. http:\\mywebsite.com) the images have identical url addresses when viewing in Firebug.  The production server's though are broken.  Even the auto resizing is correct.  But no image.

    Is there any reason why this would happen?  Stumped

    joe
  2. Answer
    Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 08 Mar 2010 Link to this post

    Hi Joe,

    Can you please verify that you have registered  Telerik.Web.WebResource.axd handler in the correct section of the webconfig according to the IIS version and the pool you are using.

    For example if your production service is running in integrated mode you should use the following registration:

    <system.webServer>
    <handlers>
     <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=[ASSEMBLY_VERSION], Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
    </handlers>
    </system.webServer>

    If classic pool is used then following is needed:

    <configuration>
       <system.web>
           <httpHandlers>
       <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
           </httpHandlers>
       </system.web>
    </configuration>


    All the best,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Joe
    Joe avatar
    26 posts
    Member since:
    May 2009

    Posted 08 Mar 2010 Link to this post

    That was it.  I knew it was something simple.

    This may be out of the scope of your support, but I have never understood the difference between classic and integrated.  Is that because my host uses a third party administrator like Plesk?

    Thanks Rosen.  Your prompt reply and help is appreciated.

    joe
  5. Rosen
    Admin
    Rosen avatar
    3234 posts

    Posted 09 Mar 2010 Link to this post

    Hello Joe,

    There are various resources on the web on integrated vs classic IIS pools. Here is for example a quick summary (scroll to Integrated Pipeline vs. ISAPI Pipeline section).

    Regards,
    Rosen
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top