This is a migrated thread and some comments may be shown as answers.

RadChart and Mono

3 Answers 74 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Konrad
Top achievements
Rank 1
Konrad asked on 03 Sep 2009, 11:36 AM
Hi,

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:

gdiplus.dll

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?




3 Answers, 1 is accepted

Sort by
0
Konrad
Top achievements
Rank 1
answered on 03 Sep 2009, 11:38 AM
I forgot to add that the application runs smoothly and radchart works on my development machine with IIS7.

0
Konrad
Top achievements
Rank 1
answered on 04 Sep 2009, 09:34 AM
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.
0
Accepted
Ves
Telerik team
answered on 08 Sep 2009, 05:46 AM
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,
Ves
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.
Tags
Chart (Obsolete)
Asked by
Konrad
Top achievements
Rank 1
Answers by
Konrad
Top achievements
Rank 1
Ves
Telerik team
Share this question
or