RadChart and Mono

Thread is closed for posting
4 posts, 1 answers
  1. Konrad
    Konrad avatar
    21 posts
    Member since:
    Sep 2008

    Posted 03 Sep 2009 Link to this post


    I have been trying to get RadChart working on Mono but no luck yet.

    I am using a virtual machine which I downloaded from mono. For the most part all the controls work fine, just RadChart that doesn't. I get the following error:

    The Chart http handler is not registered. Please, manually add the following line to your Web.config httpHandlers section:
    <addpath="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler,Telerik.Web.UI, Version=2009.2.826.20, Culture=neutral,PublicKeyToken=121fae78165ba3d4" validate="false" />

    Then I tried runnig it on another machine with Mono installed on Apache and I get the following:


    Description: HTTP 500. Error processing request.

    Stack Trace:

    System.DllNotFoundException: gdiplus.dll  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)  at System.Drawing.GDIPlus..cctor () [0x00000] 

    Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433

    Has anyone been able to get RadChart working on Mono?

  2. Konrad
    Konrad avatar
    21 posts
    Member since:
    Sep 2008

    Posted 03 Sep 2009 Link to this post

    I forgot to add that the application runs smoothly and radchart works on my development machine with IIS7.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Konrad
    Konrad avatar
    21 posts
    Member since:
    Sep 2008

    Posted 04 Sep 2009 Link to this post

    Ok I think I picked up a bug.

    On my mono virtual machine where I got the error about the handler not registered I just changed the web.config a bit.

    It used to be this: (This is the default when the controls registers them for you in the web.config.)
    <!--<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />-->

    I changed it to this:
    <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2009.2.826.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

    And that solved the issue.
  5. Answer
    Ves avatar
    2879 posts

    Posted 08 Sep 2009 Link to this post

    Hello Konrad,

    I am glad you have found the solution. Not sure if this should be classified as a bug, but rather a difference in the way the httphandlers are registered in different web servers.

    Best regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top