my chart breaks with a 404.0, the trace indicates a security problem or am I looking in the wrong place here?
Requested URL: http://localhost:80/Instructor/ChartImage.axd?UseSession=true&ChartID=0bc1d5b7-11f9-440a-bf3e-c93e2568abc8_chart_ctl05$RadChart2&imageFormat=Png&random=0.0629161610561033
Physical Path: C:\inetpub\wwwroot\Instructor\ChartImage.axd
Logon User: Anonymous
Logon Method: Anonymous
Handler: StaticFile
9 Answers, 1 is accepted
Could you elaborate what kind of secuirty exception do you get? Could you verify that you have registered the ChartHttpHandler properly in your web.config file -- you can use the SmartTag to register it automatically if you haven't done so already. Also, could you request the url http://localhost:80/Instructor/ChartImage.axd in your browser and confirm that it does not return error 404 (file not found).
If the problem persists, please open a formal support ticket with a sample application that we can investigate locally.
Best wishes,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I do have the chartimage.axd defined in the web.config, I used the smarttag to add it -
<
add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2007.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
i opened "http://localhost:80/Instructor/ChartImage.axd" in my browser and in fact it does return the error 404 (file not found) - which is the error I showed from my first post.
Is there a file missing, I dont seem to see one in the install instructions or package, is the chartimage.axd created automatically?
thank you
ChartImage.axd does not have a physical representation (file) -- it only needs to be properly registered in the web.config. We noted your handler configuration points to an older version of the control (2007.3.1314). Could you confirm you are still using this version as your ticket indicates you are using the latest official version (2007.3.1425) and then you need to modify the handler registration appropriately.
<add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2007.3.1425.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/> |
Kind regards,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
now I get this message when I run the chart
"Field not found: 'Telerik.Charting.ActiveRegion.activeRegionList'. "
MissingFieldException: Field not found: 'Telerik.Charting.ActiveRegion.activeRegionList'.]
Telerik.Web.UI.MapAreaBuilder.GenerateImageMap(IContainer container) +0
Telerik.Web.UI.MapAreaBuilder.GenerateImageMap() +23
Telerik.Web.UI.RadChart.RenderContents(HtmlTextWriter writer) +1354
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
Telerik.Web.UI.RadDataBoundControl.Render(HtmlTextWriter writer) +16
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
Telerik.WebControls.PageView.Render(HtmlTextWriter writer) +507
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) +13
System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) +42
Telerik.WebControls.RadMultiPage.Render(HtmlTextWriter output) +220
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +81
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +87
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +60
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +252
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
Telerik.WebControls.RadAjaxManager.AJAX_Page_Render(HtmlTextWriter output, Control container) +150
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +115
System.Web.UI.Page.Render(HtmlTextWriter writer) +38
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4592
This issue could happen if you do not use the official version of Telerik.Charting.dll 1.7.2 released with the service pack last week (most probably you have received a custom build that included an older version of the Telerik.Charting.dll that was still labeled v1.7.2).
The solution -- if you have Telerik.Charting 1.7.2 installed in GAC - uninstall it and install the new one from the official release. If you do not have Telerik.Charting 1.7.2 installed in GAC, please make sure that you have updated Telerik.Charting.dll in your project's Bin folder.
All the best,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I havent had any custom builds.
This is quite odd -- we have received a couple reports on this error but all of them were resolved by installing a fresh Telerik.Charting.dll v1.7.2 in the GAC (i.e. the official version of the assembly that was released last week). Could you try removing the Telerik.Charting assembly from the GAC and install manually the one from the latest bundle in order to confirm whether the problem still exists on your end.
Sincerely yours,
Manuel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
I can't seem to remove the telerik.charting assembly, I've stopped IIS, tried using the .net Framework Configuration tool -
I've tried even manually uninstalling it from the \windows\assembly folder and I get 'assembly being used by other applications'
Is there another assembly I need to remove first?
oh and running cmd.exe as administrator and running gacutil.exe - 'access is denied'