well I used chart in my project its working fine on localhost ...
when I add refrence and dll file of System.Web.DataVisualization then many tags open in web,config file please check it till below
<?xml version="1.0"?><!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --><configuration><appSettings><add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /></appSettings><system.webServer><handlers><remove name="ChartImageHandler" /><add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></handlers></system.webServer><connectionStrings><add name="AuzineConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=Auzine;User ID=sass;Password=abc;" providerName="System.Data.SqlClient"/></connectionStrings><system.web><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><compilation debug="true" targetFramework="4.0"><assemblies><!--the Below Line is unknow and added automatically ...I do not know--><add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation><pages><controls><add tagPrefix="CKEditor" assembly="CKEditor.NET" namespace="CKEditor.NET"/><!--below is used for asyncfileupload--><add assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagPrefix="Syed"/><add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /></controls></pages><customErrors mode="Off"/></system.web></configuration>
but when I was hosting it on server then one tag creating problem , when remove this tag then working fine but when I insert this tag then it gives error and website not loading
in browser
the tag is creating error on webserver is below
<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>
why ...? what is the imporance of this line can anyone tell me the solution of this....
and one more thing ... how to locate the folder in http in this tag
<appSettings><add key="ChartImageHandler" value="storage=file;timeout=20;dir=c:\TempImageFiles\;" /></appSettings>
I have tried but it gives error