.NET 3.5 chart控件 Error executing child request for ChartImg.axd 错误处理办法

本文介绍了解决因HTTP Handler配置不当导致错误的方法。通过在web.config文件中添加允许POST动词的配置,可以有效解决特定场景下的请求处理问题。
the error is thrown because the handler is configured incorrectly. To fix the issue modify the httpHandler configuration that user LaptopHeaven referred to in this topic by adding the POST verb:

大意为:这个错误是由于没有正确设置httphandler产生的, 需要在web.config的<system.web>下的<httpHandlers>(如无手动输入)内加入如下标签

<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />

转载于:https://www.cnblogs.com/maxangelin/archive/2009/03/08/1406378.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值