Problem with RadCharts when my website is in integrated application pool (IIS7)

Thread is closed for posting
2 posts, 1 answers
  1. Nani
    Nani avatar
    3 posts
    Member since:
    Dec 2006

    Posted 27 Jun 2011 Link to this post

    I am using Rad Charts in my ASP.Net pages.

    My machine configuration is as folllows

    Windows Edition: Windows Server 2008 R2 Enterprise
    64-bit OS
    It has IIS7 & .Net framework 3.5

    My code details are as follows.

    I am using Telerik.Web.UI.dll (version: 2009.2.701.35)

    Added following in my Web.Config httpHandlers section.
                <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/>
                <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>

    Also added ScriptManager tag to the top of our web page.

    It worked fine when my website in the Classic ASP.Net application pool.
    But gave error when my website is moved to integrated application pool.
    redirecting to  /ChartImage.axd?UseSession=true&ChartID=f83b7f0a-99df-4b5b-bda9-cf3bb9613568_chart_ctl00$MainContentPlace$radCharts&imageFormat=Png&random=0.574960174772404

    Can you please get back to me why I am getting this error?
    What additional configurations I need to do to get the rad charts in my website when it is in inegrated application pool?

    FYI: We are using SQL Server sessions. (Session State : SQL Server)

    Thanks in advance

    Naga Kiran
  2. Answer
    Giuseppe avatar
    2363 posts

    Posted 30 Jun 2011 Link to this post

    Hello Nani,

    Please, make sure you have registered the chart HttpHandler in both <system.web> and <system.webserver> sections in web.config. The former is needed for IIS 6, while the latter is needed for IIS7 and later. You can find this discussed in more details in this help topic.

    I would recommend removing the registration of the chart HttpHandler for the web.config file and then using the link in the control smart tag from the Visual Studio designer.

    Best wishes,
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top