d2fox
asked on
chartimg not working
I am getting the below error on my server, when I copy my pages from a development machine where they work fine.
Here's my web.config:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.net>
<mailSettings>
<smtp>
</smtp>
</mailSettings>
</system.net>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Enti ty, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193 4e089" />
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D 50A3A" />
<add assembly="System.Web.Exten sions.Desi gn, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3 64E35" />
<add assembly="System.Windows.F orms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C56193 4E089" />
<add assembly="System.Web.DataV isualizati on, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD3 64E35" />
</assemblies>
</compilation>
<customErrors mode="Off"/>
</system.web>
<connectionStrings>
</connectionStrings>
<system.webServer>
<httpErrors errorMode="Detailed">
</httpErrors>
<handlers>
<add name="ChartImg" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVi sualizatio n.Charting .ChartHttp Handler, System.Web.DataVisualizati on,
Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad3 64e35" />
</handlers>
</system.webServer>
</configuration>
ERROR MESSAGE STARTS HERE:
Server Error in '/ETN' Application.
Error executing child request for ChartImg.axd.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Error executing child request for ChartImg.axd.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Error executing child request for ChartImg.axd.]
System.Web.HttpServerUtili ty.Execute Internal(I HttpHandle r handler, TextWriter writer, Boolean preserveForm, Boolean setPreviousPage, VirtualPath path, VirtualPath filePath, String physPath, Exception error, String queryStringOverride) +2998443
System.Web.HttpServerUtili ty.Execute (String path, TextWriter writer, Boolean preserveForm) +842
System.Web.UI.DataVisualiz ation.Char ting.Chart HttpHandle r.EnsureIn itialized( Boolean hardCheck) +250
System.Web.UI.DataVisualiz ation.Char ting.Chart .GetImageS torageMode () +24
System.Web.UI.DataVisualiz ation.Char ting.Chart .get_Curre ntImageLoc ation() +40
System.Web.UI.DataVisualiz ation.Char ting.Chart .Render(Ht mlTextWrit er writer) +306
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.Control.Rend erChildren (HtmlTextW riter writer) +8
System.Web.UI.HtmlControls .HtmlConta inerContro l.Render(H tmlTextWri ter writer) +31
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.HtmlControls .HtmlTable Row.Render Children(H tmlTextWri ter writer) +49
System.Web.UI.HtmlControls .HtmlConta inerContro l.Render(H tmlTextWri ter writer) +31
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.HtmlControls .HtmlTable .RenderChi ldren(Html TextWriter writer) +49
System.Web.UI.HtmlControls .HtmlConta inerContro l.Render(H tmlTextWri ter writer) +31
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.Control.Rend erChildren (HtmlTextW riter writer) +8
System.Web.UI.WebControls. WebControl .RenderCon tents(Html TextWriter writer) +10
System.Web.UI.WebControls. WebControl .Render(Ht mlTextWrit er writer) +32
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.Control.Rend erChildren (HtmlTextW riter writer) +8
System.Web.UI.Control.Rend er(HtmlTex tWriter writer) +10
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.HtmlControls .HtmlForm. RenderChil dren(HtmlT extWriter writer) +173
System.Web.UI.HtmlControls .HtmlConta inerContro l.Render(H tmlTextWri ter writer) +31
System.Web.UI.HtmlControls .HtmlForm. Render(Htm lTextWrite r output) +53
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.HtmlControls .HtmlForm. RenderCont rol(HtmlTe xtWriter writer) +40
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.Control.Rend erChildren (HtmlTextW riter writer) +8
System.Web.UI.Control.Rend er(HtmlTex tWriter writer) +10
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Control.Rend erChildren Internal(H tmlTextWri ter writer, ICollection children) +208
System.Web.UI.Control.Rend erChildren (HtmlTextW riter writer) +8
System.Web.UI.Page.Render( HtmlTextWr iter writer) +29
System.Web.UI.Control.Rend erControlI nternal(Ht mlTextWrit er writer, ControlAdapter adapter) +27
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer, ControlAdapter adapter) +100
System.Web.UI.Control.Rend erControl( HtmlTextWr iter writer) +25
System.Web.UI.Page.Process RequestMai n(Boolean includeStagesBeforeAsyncPo int, Boolean includeStagesAfterAsyncPoi nt) +3060
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
Here's my web.config:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<system.net>
<mailSettings>
<smtp>
</smtp>
</mailSettings>
</system.net>
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Enti
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D
<add assembly="System.Web.Exten
<add assembly="System.Windows.F
<add assembly="System.Web.DataV
</assemblies>
</compilation>
<customErrors mode="Off"/>
</system.web>
<connectionStrings>
</connectionStrings>
<system.webServer>
<httpErrors errorMode="Detailed">
</httpErrors>
<handlers>
<add name="ChartImg" verb="*" path="ChartImg.axd" type="System.Web.UI.DataVi
Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad3
</handlers>
</system.webServer>
</configuration>
ERROR MESSAGE STARTS HERE:
Server Error in '/ETN' Application.
Error executing child request for ChartImg.axd.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Error executing child request for ChartImg.axd.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): Error executing child request for ChartImg.axd.]
System.Web.HttpServerUtili
System.Web.HttpServerUtili
System.Web.UI.DataVisualiz
System.Web.UI.DataVisualiz
System.Web.UI.DataVisualiz
System.Web.UI.DataVisualiz
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.HtmlControls
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.HtmlControls
System.Web.UI.HtmlControls
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.HtmlControls
System.Web.UI.HtmlControls
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.WebControls.
System.Web.UI.WebControls.
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.HtmlControls
System.Web.UI.HtmlControls
System.Web.UI.HtmlControls
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.HtmlControls
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Page.Render(
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Control.Rend
System.Web.UI.Page.Process
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.