Here's what I did to add ASP.NET Charting Controls to my store. I should mention I'm running AspDotNetStorefront Multistore 9.3.0.0/9.3.0.0.
1. Back up your web.config file and save it somewhere safe.
2. Create a folder called temp (or something else) in the root of your project. Make sure it has write access.
3. Add these lines to the following sections of your web.config file:
Code:
<appSettings>
<add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\inetpub\wwwroot\AspDotNetStoreFront\Web\temp;" />
</appSettings>
Code:
<httpHandlers>
add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
Code:
<handlers>
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
4. Add this line to the top of any .aspx that uses the charting control:
Code:
<%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
It seems to be working for me.