Hi Robb,
Thanks for using Syncfusion products.
We suspect that you have missed “ChartWebHandler”
in your web.config file handlers tag and it will be caused to display broken chart
image in IIS web page. Essential Chart requires chart handlers to be added in
configuration file for rendering chart in a web page. For displaying chart in
Visual Studio development server, chart handler should be added in
<httpHandlers> tag of the configuration file.
Please refer the following code snippet
to achieve this:
[web.config]
<httpHandlers>
<add path='syncfusion_generate.ashx' verb='*' type='Syncfusion.Web.UI.WebControls.Chart.ChartWebHandler,Syncfusion.Chart.Web,
Version=11.3040.0.30, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' />
</httpHandlers>
For displaying chart in IIS server,
chart handler which specifies the name, path and type of the handler should be
added in the configuration file under the following tag:
system.webServer => handlers
Please refer the following code snippet
to add handler for displaying chart in IIS:
[web.config]
<system.webServer>
<modules runAllManagedModulesForAllRequests='true' />
<validation validateIntegratedModeConfiguration='false' />
<handlers>
<add name='syncfusion_generate' path='syncfusion_generate.ashx' verb='*' type='Syncfusion.Web.UI.WebControls.Chart.ChartWebHandler,Syncfusion.Chart.Web,
Version=11.3040.0.30, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' />
</handlers>
</system.webServer>
For your convenience, we have created a
simple sample for displaying chart in IIS server and it can be downloaded from
the following link:
Sample link: http://www.syncfusion.com/downloads/support/directtrac/113082/IISWebServer-2060907750.zip
Please confirm your current Essential
Studio version and whether chart handlers are added in the configuration file
(web.config). we have created sample for Essential Studio latest version 11.3.0.30.
Please let us know if the solution helps.
Regards,
Bharathiraja.